13
0

LT: ignore all 'tabbable' setup for LT. avoids a shutdown crash

This commit is contained in:
Ben Loftis 2024-05-06 11:11:26 -05:00
parent 3cefc29296
commit f74dbbeb25

View File

@ -965,6 +965,7 @@ ARDOUR_UI::save_ardour_state ()
main_window_node.set_property (X_("w"), mw);
main_window_node.set_property (X_("h"), mh);
#ifndef LIVETRAX
string current_tab;
int current_page_number = _tabs.get_current_page ();
if (current_page_number == _tabs.page_num (editor->contents())) {
@ -975,13 +976,12 @@ ARDOUR_UI::save_ardour_state ()
current_tab = "recorder";
} else if (current_page_number == _tabs.page_num (trigger_page->contents())) {
current_tab = "trigger";
#ifndef LIVETRAX
} else if (current_page_number == _tabs.page_num (rc_option_editor->contents())) {
current_tab = "preferences";
#endif
}
main_window_node.set_property (X_("current-tab"), current_tab);
#endif
/* Windows */