diff --git a/gtk2_ardour/ardour_ui_ed.cc b/gtk2_ardour/ardour_ui_ed.cc index 3616381129..003e4fea09 100644 --- a/gtk2_ardour/ardour_ui_ed.cc +++ b/gtk2_ardour/ardour_ui_ed.cc @@ -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 */