Fix save/restore window and tab sizes

Window size has to be set before calling `setup_toplevel_window()`.
and `set_show_tabs()` - see also acf13e9498 and 42cb321039.

This also unconditionally saves the current settings to global config
instant.xml. This was previously only done in rare cases when first
closing the session and then quitting Ardour.
This commit is contained in:
Robin Gareus 2022-09-03 17:39:24 +02:00
parent 96a9c1df7f
commit 1228202bbe
3 changed files with 10 additions and 6 deletions

View file

@ -445,7 +445,7 @@ private:
void toggle_meterbridge ();
int setup_windows ();
int apply_window_settings (bool);
void apply_window_settings (bool);
void setup_transport ();
void setup_clock ();