Properly disable looping when deleting loop-range
This commit is contained in:
parent
32b7343927
commit
16dc3a1613
@ -1955,8 +1955,11 @@ Session::location_removed (Location *location)
|
||||
{
|
||||
if (location->is_auto_loop()) {
|
||||
set_auto_loop_location (0);
|
||||
if (!play_loop) {
|
||||
set_track_loop (false);
|
||||
}
|
||||
unset_play_loop ();
|
||||
}
|
||||
|
||||
if (location->is_auto_punch()) {
|
||||
set_auto_punch_location (0);
|
||||
|
@ -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