13
0

Properly disable looping when deleting loop-range

This commit is contained in:
Robin Gareus 2018-10-05 21:48:41 +02:00
parent 32b7343927
commit 16dc3a1613
2 changed files with 5 additions and 1 deletions

View File

@ -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()) {

View File

@ -1000,6 +1000,7 @@ Session::unset_play_loop ()
add_post_transport_work (PostTransportLocate);
_butler->schedule_transport_work ();
}
TransportStateChange (); /* EMIT SIGNAL */
}
}