Properly disable looping when deleting loop-range
This commit is contained in:
@@ -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 */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user