LT: ignore all 'tabbable' setup for LT. avoids a shutdown crash
This commit is contained in:
parent
3cefc29296
commit
f74dbbeb25
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user