Removed flag check because it is passed as true even if the window isn't visible due to being minimized into the app icon.
This commit is contained in:
parent
48b859fbd2
commit
1371d2d62e
|
@ -155,10 +155,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
|
|||
}
|
||||
|
||||
func applicationShouldHandleReopen(_ sender: NSApplication, hasVisibleWindows flag: Bool) -> Bool {
|
||||
|
||||
if (!flag) {
|
||||
createAndShowMainWindow()
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue