summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/ardour_ui2.cc')
-rw-r--r--gtk2_ardour/ardour_ui2.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc
index 925969869a..eaae3c0e03 100644
--- a/gtk2_ardour/ardour_ui2.cc
+++ b/gtk2_ardour/ardour_ui2.cc
@@ -184,9 +184,11 @@ ARDOUR_UI::setup_windows ()
build_menu_bar ();
setup_tooltips ();
+ _main_window.signal_delete_event().connect (sigc::mem_fun (*this, &ARDOUR_UI::main_window_delete_event));
+
/* pack the main vpacker into the main window and show everything
*/
-
+
_main_window.add (main_vpacker);
transport_frame.show_all ();
@@ -905,3 +907,4 @@ ARDOUR_UI::update_title ()
}
}
+