Skip to content

Commit

Permalink
Merge pull request #1019 from shatyuka/fix_minimize
Browse files Browse the repository at this point in the history
fix: showWindow won't restore minimized window
  • Loading branch information
agalwood authored Aug 15, 2021
2 parents 6be0afd + 1f5f5dc commit ee05252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/ui/WindowManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export default class WindowManager extends EventEmitter {

showWindow (page) {
const window = this.getWindow(page)
if (!window || window.isVisible()) {
if (!window || (window.isVisible() && !window.isMinimized())) {
return
}

Expand Down

0 comments on commit ee05252

Please sign in to comment.