summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLen Ovens <len@ovenwerks.net>2015-12-16 12:24:10 -0800
committerLen Ovens <len@ovenwerks.net>2015-12-16 12:24:10 -0800
commit8bb4ac0ac71c84f9ba588df76fa94be3710f7dfe (patch)
tree37969d57d3cc9e182c4b0d82fe3b4fe8de3af550
parent2f86d1b7dd6b0caf33c8f9879b3d8fe2d324629f (diff)
Fix MCP time display sometimes doesn't update to zero time on return to zero (shift-rew)
-rw-r--r--libs/surfaces/mackie/mackie_control_protocol.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/surfaces/mackie/mackie_control_protocol.cc b/libs/surfaces/mackie/mackie_control_protocol.cc
index 545c69670d..45e2a9b0cb 100644
--- a/libs/surfaces/mackie/mackie_control_protocol.cc
+++ b/libs/surfaces/mackie/mackie_control_protocol.cc
@@ -1318,6 +1318,9 @@ MackieControlProtocol::notify_transport_state_changed()
update_global_button (Button::Rewind, session->transport_speed() < 0.0);
update_global_button (Button::Ffwd, session->transport_speed() > 1.0);
+ // sometimes a return to start leaves time code at old time
+ _timecode_last = string (10, ' ');
+
notify_metering_state_changed ();
}