diff --git a/src/frontends/qt/Dialog.cpp b/src/frontends/qt/Dialog.cpp index c9d11f74a6..783f5eb22c 100644 --- a/src/frontends/qt/Dialog.cpp +++ b/src/frontends/qt/Dialog.cpp @@ -174,12 +174,10 @@ void Dialog::showView() prepareView(); QWidget * w = asQWidget(); - if (w->isVisible()) { - w->raise(); - w->activateWindow(); - } else + if (!w->isVisible()) w->show(); - + w->raise(); + w->activateWindow(); if (wantInitialFocus()) w->setFocus(); else {