fix behaviour of AddRouteDialog "Add" button
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 17 Jul 2017 15:51:58 +0000 (11:51 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 17 Jul 2017 15:57:33 +0000 (11:57 -0400)
gtk2_ardour/add_route_dialog.cc

index 718edf3ff603591c8c0a5e763e8a7f6b5ee3be06..066fa843100e30828fef8c929c6e4151aea1acaa 100644 (file)
@@ -213,7 +213,10 @@ void
 AddRouteDialog::on_response (int r)
 {
        name_edited_by_user = false;
-       ArdourDialog::on_response (r);
+       /* Don't call ArdourDialog::on_response() because that will
+          automatically hide the dialog.
+       */
+       Gtk::Dialog::on_response (r);
 }
 
 void