Skip to content

Commit

Permalink
Possibly fixes issue #103! (#215)
Browse files Browse the repository at this point in the history
A simple mistake, had the raise function only being called if we were going to focus too. But really, we want to raise it regardless!

Also fixes `open` macros needing to raise windows as well!
  • Loading branch information
eteran authored Dec 24, 2020
1 parent 159300a commit b16a93e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DocumentWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1110,8 +1110,9 @@ void DocumentWidget::raiseFocusDocumentWindow(bool focus) {
win->showNormal();
}

win->raise();

if (focus) {
win->raise();
win->activateWindow();
}
}
Expand Down

0 comments on commit b16a93e

Please sign in to comment.