Patch from Daniel.
This commit is contained in:
Richard Kimberly Heck 2021-02-02 17:34:25 -05:00
parent 7b6db55f28
commit bd0044f9d5

View File

@ -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 {