Fix crash on saving session template (#3634).
git-svn-id: svn://localhost/ardour2/branches/3.0@8375 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
fcd0a44744
commit
c76912db2c
@ -4067,6 +4067,10 @@ Session::start_time_changed (framepos_t old)
|
||||
*/
|
||||
|
||||
Location* s = _locations->session_range_location ();
|
||||
if (s == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
Location* l = _locations->auto_loop_location ();
|
||||
|
||||
if (l->start() == old) {
|
||||
@ -4082,6 +4086,10 @@ Session::end_time_changed (framepos_t old)
|
||||
*/
|
||||
|
||||
Location* s = _locations->session_range_location ();
|
||||
if (s == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
Location* l = _locations->auto_loop_location ();
|
||||
|
||||
if (l->end() == old) {
|
||||
|
Loading…
Reference in New Issue
Block a user