mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
playhead priority: if rolling and range selection vanishes while we are paying attention, ignore the change
This commit is contained in:
parent
5cdd708648
commit
9630d83573
1 changed files with 9 additions and 1 deletions
|
|
@ -481,6 +481,14 @@ Session::select_playhead_priority_target (framepos_t& jump_to)
|
||||||
if (jump_to < 0 && (autoreturn & RangeSelectionStart)) {
|
if (jump_to < 0 && (autoreturn & RangeSelectionStart)) {
|
||||||
if (!_range_selection.empty()) {
|
if (!_range_selection.empty()) {
|
||||||
jump_to = _range_selection.from;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue