fix #621, fix #340: tray icon crash

pull/754/head
antelle 2017-06-05 14:15:22 +02:00
parent 3df40af7ab
commit e51bb2ae6e
1 changed files with 1 additions and 1 deletions

View File

@ -157,12 +157,12 @@ function createMainWindow() {
}
function restoreMainWindow() {
destroyAppIcon();
if (mainWindow.isMinimized()) {
mainWindow.restore();
}
mainWindow.setSkipTaskbar(false);
mainWindow.focus();
setTimeout(destroyAppIcon, 0);
}
function closeMainWindow() {