tweak window-proxy session-management logic
This commit is contained in:
parent
86ae4c5fc1
commit
40f8806c7d
@ -65,9 +65,9 @@ ARDOUR_UI::set_session (Session *s)
|
||||
{
|
||||
SessionHandlePtr::set_session (s);
|
||||
|
||||
WM::Manager::instance().set_session (s);
|
||||
|
||||
if (!_session) {
|
||||
WM::Manager::instance().set_session (s);
|
||||
/* Session option editor cannot exist across change-of-session */
|
||||
session_option_editor.drop_window ();
|
||||
/* Ditto for AddVideoDialog */
|
||||
@ -87,6 +87,8 @@ ARDOUR_UI::set_session (Session *s)
|
||||
}
|
||||
}
|
||||
|
||||
WM::Manager::instance().set_session (s);
|
||||
|
||||
AutomationWatch::instance().set_session (s);
|
||||
|
||||
if (shuttle_box) {
|
||||
@ -228,6 +230,7 @@ ARDOUR_UI::unload_session (bool hide_stuff)
|
||||
|
||||
rec_button.set_sensitive (false);
|
||||
|
||||
WM::Manager::instance().set_session ((ARDOUR::Session*) 0);
|
||||
ARDOUR_UI::instance()->video_timeline->close_session();
|
||||
|
||||
stop_blinking ();
|
||||
|
Loading…
Reference in New Issue
Block a user