mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-28 09:51:06 -06:00
Electron 549: fix main window show javascript error issues (#397)
- support not quitting app on mac upon closing window - add extra checks for showing main window
This commit is contained in:
parent
89f6bee08a
commit
a52c46bb6e
@ -679,7 +679,9 @@ function getWindowSizeAndPosition(window) {
|
||||
* Shows the main window
|
||||
*/
|
||||
function showMainWindow() {
|
||||
mainWindow.show();
|
||||
if (mainWindow) {
|
||||
mainWindow.show();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user