mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Prevent locate while recording due to clock edits #7383
This follows Editor::button_press_handler() ignoring mouse-press while recording: Limitation is in the GUI only.
This commit is contained in:
parent
1b3cca8a6d
commit
378a0af4a7
1 changed files with 3 additions and 0 deletions
|
|
@ -2180,6 +2180,9 @@ AudioClock::locate ()
|
|||
if (!_session || is_duration) {
|
||||
return;
|
||||
}
|
||||
if (_session->actively_recording()) {
|
||||
return;
|
||||
}
|
||||
|
||||
_session->request_locate (current_time(), RollIfAppropriate);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue