mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Do not allow changing the loop range while recording
This commit is contained in:
parent
18e0cba1cb
commit
60b3b24cc8
1 changed files with 6 additions and 1 deletions
|
|
@ -5304,7 +5304,12 @@ Editor::get_preferred_edit_position (EditIgnoreOption ignore, bool from_context_
|
||||||
void
|
void
|
||||||
Editor::set_loop_range (timepos_t const & start, timepos_t const & end, string cmd)
|
Editor::set_loop_range (timepos_t const & start, timepos_t const & end, string cmd)
|
||||||
{
|
{
|
||||||
if (!_session) return;
|
if (!_session) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (_session->get_play_loop () && _session->actively_recording ()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
begin_reversible_command (cmd);
|
begin_reversible_command (cmd);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue