diff --git a/ResultDialog.cpp b/ResultDialog.cpp index caeb1bc..e263a0c 100644 --- a/ResultDialog.cpp +++ b/ResultDialog.cpp @@ -57,4 +57,5 @@ void ResultDialog::showResult (ProcessingItem item) { QPoint newPos (screenRect.width () - width (), screenRect.height () - height ()); move (newPos); } + activateWindow (); } diff --git a/SelectionDialog.cpp b/SelectionDialog.cpp index 5c0b96d..96e1d4b 100644 --- a/SelectionDialog.cpp +++ b/SelectionDialog.cpp @@ -136,5 +136,5 @@ void SelectionDialog::setPixmap (QPixmap pixmap, const QRect &showGeometry) { this->setGeometry (showGeometry); show (); - setFocus (); + activateWindow (); }