summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui_dialogs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/ardour_ui_dialogs.cc')
-rw-r--r--gtk2_ardour/ardour_ui_dialogs.cc19
1 files changed, 2 insertions, 17 deletions
diff --git a/gtk2_ardour/ardour_ui_dialogs.cc b/gtk2_ardour/ardour_ui_dialogs.cc
index c524e15526..93efa57110 100644
--- a/gtk2_ardour/ardour_ui_dialogs.cc
+++ b/gtk2_ardour/ardour_ui_dialogs.cc
@@ -248,13 +248,8 @@ ARDOUR_UI::toggle_connection_editor ()
//GTK2FIX
#if 0
- if (connection_editor->within_hiding()) {
- return;
- }
-
-
if (connection_editor_check->get_active()){
- connection_editor->show_all();
+ connection_editor->present();
} else {
connection_editor->hide_all();
}
@@ -291,9 +286,7 @@ ARDOUR_UI::toggle_options_window ()
option_editor = new OptionEditor (*this, *editor, *mixer);
option_editor->signal_unmap().connect(mem_fun(*this, &ARDOUR_UI::option_hiding));
option_editor->set_session (session);
- } else if (option_editor->within_hiding()) {
- return;
- }
+ }
if (option_editor->is_visible()) {
option_editor->hide ();
@@ -335,10 +328,6 @@ ARDOUR_UI::toggle_location_window ()
return;
}
- if (location_ui->within_hiding()) {
- return;
- }
-
if (location_ui->is_visible()) {
location_ui->hide();
} else {
@@ -370,10 +359,6 @@ ARDOUR_UI::toggle_route_params_window ()
return;
}
- if (route_params->within_hiding()) {
- return;
- }
-
if (route_params->is_visible ()) {
route_params->hide ();
} else {