Skip to content

Commit

Permalink
Activate selection and result dialogs when showing.
Browse files Browse the repository at this point in the history
  • Loading branch information
OneMoreGres committed Sep 29, 2015
1 parent c380d96 commit dd3d92e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ResultDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ void ResultDialog::showResult (ProcessingItem item) {
QPoint newPos (screenRect.width () - width (), screenRect.height () - height ());
move (newPos);
}
activateWindow ();
}
2 changes: 1 addition & 1 deletion SelectionDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,5 @@ void SelectionDialog::setPixmap (QPixmap pixmap, const QRect &showGeometry) {
this->setGeometry (showGeometry);

show ();
setFocus ();
activateWindow ();
}

0 comments on commit dd3d92e

Please sign in to comment.