mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 23:25:43 +01:00
fix startup crash if no loop range is defined
This commit is contained in:
parent
d04c9b3244
commit
8972f69e68
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue