fixes App freezing when NOT opening from tray (#46)

This commit is contained in:
Tobirexy 2019-07-09 14:30:26 +02:00 committed by Kyle Spearrin
parent b01759924c
commit a631bd990a
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ export class WindowMain {
// Someone tried to run a second instance, we should focus our window.
if (this.win != null) {
if (this.win.isMinimized()) {
this.win.restore();
this.win.show();
}
this.win.focus();
}