diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 5b1a24859e..ee356fb2a9 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -4501,13 +4501,8 @@ ARDOUR_UI::reconnect_to_engine () { if (AudioEngine::instance()->start ()) { // TODO somehow make this the topmost window (above any dialogs currently visible) - if (editor) { - MessageDialog msg (*editor, AudioEngine::instance()->get_last_backend_error ()); - msg.run (); - } else { - MessageDialog msg (AudioEngine::instance()->get_last_backend_error ()); - msg.run (); - } + MessageDialog msg(*audio_midi_setup.get(), AudioEngine::instance()->get_last_backend_error()); + msg.run(); return -1; }