X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fardour_ui_dialogs.cc;h=cc0d9f9d242c5ed768f1c7e91d0e1eae3a49437d;hb=cd5cd2f8f29e9b99942cbb232f622ad3ab074fc1;hp=a134a19b8fa4d9a303c27017d0fa4653c086d80b;hpb=c4c74933e1047c0810bd9a1a8f9110f9ca5d3784;p=ardour.git diff --git a/gtk2_ardour/ardour_ui_dialogs.cc b/gtk2_ardour/ardour_ui_dialogs.cc index a134a19b8f..cc0d9f9d24 100644 --- a/gtk2_ardour/ardour_ui_dialogs.cc +++ b/gtk2_ardour/ardour_ui_dialogs.cc @@ -347,7 +347,7 @@ ARDOUR_UI::toggle_editor_and_mixer () } if (editor->tabbed() && !mixer->tabbed()) { - if (!editor->fully_visible()) { + if (main_window_visibility && main_window_visibility->fully_visible()) { if (_tabs.get_current_page() == _tabs.page_num (editor->contents())) { mixer->make_visible (); } @@ -358,7 +358,7 @@ ARDOUR_UI::toggle_editor_and_mixer () } if (mixer->tabbed () && !editor->tabbed()) { - if (!editor->fully_visible()) { + if (main_window_visibility && main_window_visibility->fully_visible()) { if (_tabs.get_current_page() == _tabs.page_num (mixer->contents())) { editor->make_visible (); } @@ -922,9 +922,3 @@ ARDOUR_UI::toggle_monitor_section_visibility () mixer->show_monitor_section (tact->get_active()); } } - -void -ARDOUR_UI::lua_script_manager () -{ - lua_script_window.show (); -}