From a16f004d240eb2da3148f6c5f91a84dd4caf0bd1 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 29 Oct 2019 18:20:55 -0600 Subject: [PATCH] fix vanished audio/MIDI setup window after "Start" is clicked anytime other than during startup --- gtk2_ardour/engine_dialog.cc | 10 +++++++--- 1 file 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