fix startup crash if no loop range is defined
This commit is contained in:
parent
d04c9b3244
commit
8972f69e68
|
@ -1411,6 +1411,10 @@ Session::auto_punch_changed (Location* location)
|
|||
void
|
||||
Session::auto_loop_changed (Location* location)
|
||||
{
|
||||
if (!location) {
|
||||
return;
|
||||
}
|
||||
|
||||
replace_event (SessionEvent::AutoLoop, location->end(), location->start());
|
||||
|
||||
const bool rolling = transport_rolling ();
|
||||
|
|
Loading…
Reference in New Issue