Fix crash when setting loop or punch range after creating a new session (and probably any scenario where the session changes).
git-svn-id: svn://localhost/ardour2/branches/3.0@6658 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b5148d93d5
commit
157c2a866c
@ -866,6 +866,9 @@ LocationUI::set_session(ARDOUR::Session* s)
|
||||
_session->locations()->removed.connect (_session_connections, ui_bind (&LocationUI::location_removed, this, _1), gui_context());
|
||||
}
|
||||
|
||||
loop_edit_row.set_session (s);
|
||||
punch_edit_row.set_session (s);
|
||||
|
||||
refresh_location_list ();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user