summaryrefslogtreecommitdiff
path: root/gtk2_ardour/engine_dialog.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-10-29 18:20:55 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2019-10-29 18:20:55 -0600
commita16f004d240eb2da3148f6c5f91a84dd4caf0bd1 (patch)
tree2e790c8d2c6360abc60c1eea1429fd89e9d1ad2c /gtk2_ardour/engine_dialog.cc
parent91fd927a8010cf67ba23f2d0a76aaf5d0e056a8d (diff)
fix vanished audio/MIDI setup window after "Start" is clicked anytime other than during startup
Diffstat (limited to 'gtk2_ardour/engine_dialog.cc')
-rw-r--r--gtk2_ardour/engine_dialog.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/gtk2_ardour/engine_dialog.cc b/gtk2_ardour/engine_dialog.cc
index 3586fe2d5c..182a931cef 100644
--- a/gtk2_ardour/engine_dialog.cc
+++ b/gtk2_ardour/engine_dialog.cc
@@ -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