Use central method to check for engine where required
[ardour.git] / gtk2_ardour / sfdb_ui.cc
index 2c4d5b4db673bd8209a3e2658c3570bacfecead3..9e473e3cc701335d79ef2cbbcce6d6125d2f9bdb 100644 (file)
@@ -2057,7 +2057,7 @@ SoundFileOmega::do_something (int action)
 {
        SoundFileBrowser::do_something (action);
 
-       if (action == RESPONSE_CLOSE) {
+       if (action == RESPONSE_CLOSE || ARDOUR_UI_UTILS::no_engine_notify ()) {
                hide ();
                return;
        }