fix vanished audio/MIDI setup window after "Start" is clicked anytime other than...
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 30 Oct 2019 00:20:55 +0000 (18:20 -0600)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 30 Oct 2019 00:20:55 +0000 (18:20 -0600)
gtk2_ardour/engine_dialog.cc

index 3586fe2d5c4326374f68ae89e579efbd87d7a544..182a931cefb360106154f423bad87f850cf1a08b 100644 (file)
@@ -2757,10 +2757,14 @@ EngineControl::control_app_button_clicked ()
 void
 EngineControl::on_response (int r)
 {
-       /* we do nothing when our response signal is emitted ... that's the
-        * responsibility of whoever displayed us.
+       /* Do not run ArdourDialog::on_response() which will hide us. Leave
+        * that to whoever invoked us, if they wish to hide us after "start".
+        *
+        * StartupFSM does hide us after response(); Window > Audio/MIDI Setup
+        * does not.
         */
-       ArdourDialog::on_response (r);
+       pop_splash ();
+       Gtk::Dialog::on_response (r);
 }
 
 void