Properly disable looping when deleting loop-range
This commit is contained in:
parent
32b7343927
commit
16dc3a1613
|
@ -1955,7 +1955,10 @@ Session::location_removed (Location *location)
|
|||
{
|
||||
if (location->is_auto_loop()) {
|
||||
set_auto_loop_location (0);
|
||||
set_track_loop (false);
|
||||
if (!play_loop) {
|
||||
set_track_loop (false);
|
||||
}
|
||||
unset_play_loop ();
|
||||
}
|
||||
|
||||
if (location->is_auto_punch()) {
|
||||
|
|
|
@ -1000,6 +1000,7 @@ Session::unset_play_loop ()
|
|||
add_post_transport_work (PostTransportLocate);
|
||||
_butler->schedule_transport_work ();
|
||||
}
|
||||
TransportStateChange (); /* EMIT SIGNAL */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user