Fix crash when moving end marker after deleting loop range (#4357).
git-svn-id: svn://localhost/ardour2/branches/3.0@10196 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -4199,7 +4199,7 @@ Session::end_time_changed (framepos_t old)
|
||||
|
||||
Location* l = _locations->auto_loop_location ();
|
||||
|
||||
if (l->end() == old) {
|
||||
if (l && l->end() == old) {
|
||||
l->set_end (s->end(), true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user