Pop down dialog before re-scanning VSTs
authorRobin Gareus <robin@gareus.org>
Wed, 8 Mar 2017 11:15:42 +0000 (12:15 +0100)
committerRobin Gareus <robin@gareus.org>
Wed, 8 Mar 2017 12:03:46 +0000 (13:03 +0100)
gtk2_ardour/rc_option_editor.cc

index b2f65fdc2e9a17a1d590106c4b7ba286419e50fe..5af921c9c75ae4f06f8fc66e1e36632e24f6d5ca 100644 (file)
@@ -3987,6 +3987,7 @@ void RCOptionEditor::edit_lxvst_path () {
                                false /*no markup*/, Gtk::MESSAGE_QUESTION, Gtk::BUTTONS_YES_NO, true /*modal*/);
                msg.set_default_response (Gtk::RESPONSE_YES);
                if (msg.run() == Gtk::RESPONSE_YES) {
+                       msg.hide ();
                        plugin_scan_refresh ();
                }
        }
@@ -4007,6 +4008,7 @@ void RCOptionEditor::edit_vst_path () {
                                false /*no markup*/, Gtk::MESSAGE_QUESTION, Gtk::BUTTONS_YES_NO, true /*modal*/);
                msg.set_default_response (Gtk::RESPONSE_YES);
                if (msg.run() == Gtk::RESPONSE_YES) {
+                       msg.hide ();
                        plugin_scan_refresh ();
                }
        }