Skip to content

Commit

Permalink
fix: showWindow won't restore minimized window
Browse files Browse the repository at this point in the history
  • Loading branch information
shatyuka committed Aug 5, 2021
1 parent 6be0afd commit 1f5f5dc
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 1f5f5dc

Please sign in to comment.