respect showWindow param

This commit is contained in:
Kyle Spearrin 2018-05-08 10:59:12 -04:00
parent 2c8e153931
commit f149f98145
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ export class TrayMain {
this.tray = null;
}
if (this.windowMain.win != null && !this.windowMain.win.isVisible()) {
if (showWindow && this.windowMain.win != null && !this.windowMain.win.isVisible()) {
this.windowMain.win.show();
}
}