reopen window if exit to tray
This commit is contained in:
parent
67deb3e3d8
commit
961d1838c0
1 changed files with 2 additions and 0 deletions
|
@ -629,6 +629,8 @@ if (!singleInstance) {
|
||||||
if (mainWindow) {
|
if (mainWindow) {
|
||||||
if (mainWindow.isMinimized()) {
|
if (mainWindow.isMinimized()) {
|
||||||
mainWindow.restore();
|
mainWindow.restore();
|
||||||
|
} else if (!mainWindow.isVisible()) {
|
||||||
|
mainWindow.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
mainWindow.focus();
|
mainWindow.focus();
|
||||||
|
|
Reference in a new issue