Restore "Main" UI Tab setting from sesion instant.xml

Previously this setting was ignored. It is relevant when loading a demo
session, where initially there is no user Config instant.xml.

ARDOUR_UI::setup_windows is called directly after the engine starts, but
before the session is set.
This commit is contained in:
Robin Gareus 2022-08-10 00:46:54 +02:00
parent bfedf7168e
commit acf13e9498
3 changed files with 70 additions and 56 deletions

View file

@ -143,6 +143,7 @@ ARDOUR_UI::set_session (Session *s)
}
WM::Manager::instance().set_session (s);
apply_window_settings (false);
AutomationWatch::instance().set_session (s);