playhead priority: if rolling and range selection vanishes while we are paying attention, ignore the change

This commit is contained in:
Paul Davis 2015-01-28 21:52:54 -05:00
parent 5cdd708648
commit 9630d83573
1 changed files with 9 additions and 1 deletions

View File

@ -481,7 +481,15 @@ Session::select_playhead_priority_target (framepos_t& jump_to)
if (jump_to < 0 && (autoreturn & RangeSelectionStart)) {
if (!_range_selection.empty()) {
jump_to = _range_selection.from;
}
} else {
if (transport_rolling()) {
/* Range selection no longer exists, but we're playing,
so do nothing. Next stop will put us where
we need to be.
*/
return false;
}
}
}
if (jump_to < 0 && (autoreturn & Loop)) {