Activate selection and result dialogs when showing.

This commit is contained in:
Gres 2015-09-29 18:11:00 +03:00
parent c380d96815
commit dd3d92edb6
2 changed files with 2 additions and 1 deletions

View File

@ -57,4 +57,5 @@ void ResultDialog::showResult (ProcessingItem item) {
QPoint newPos (screenRect.width () - width (), screenRect.height () - height ()); QPoint newPos (screenRect.width () - width (), screenRect.height () - height ());
move (newPos); move (newPos);
} }
activateWindow ();
} }

View File

@ -136,5 +136,5 @@ void SelectionDialog::setPixmap (QPixmap pixmap, const QRect &showGeometry) {
this->setGeometry (showGeometry); this->setGeometry (showGeometry);
show (); show ();
setFocus (); activateWindow ();
} }