triggerbox: during fast-forward, if there's nothing to do, set_currently_playing to null

if left non-null, the next TriggerBox::run() method will start the transport
rolling.
This commit is contained in:
Paul Davis 2022-02-18 12:52:30 -07:00
parent 8a36f9fce8
commit 19f6a6a739

View File

@ -2666,6 +2666,7 @@ TriggerBox::fast_forward (CueEvents const & cues, samplepos_t transport_position
if (cues.empty() || !(Config->get_cue_behavior() & FollowCues) || (cues.front().time > transport_position)) {
DEBUG_TRACE (DEBUG::Triggers, string_compose ("%1: nothing to be done\n", order()));
_locate_armed = false;
_currently_playing = 0;
if (tracker) {
tracker->reset ();
}