Merge pull request #442 from vincode-io/issue-438

Removed flag check because it is passed as true even if the window is…
This commit is contained in:
Brent Simmons 2018-09-06 19:11:54 -07:00 committed by GitHub
commit a10f82f600
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -155,10 +155,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
}
func applicationShouldHandleReopen(_ sender: NSApplication, hasVisibleWindows flag: Bool) -> Bool {
if (!flag) {
createAndShowMainWindow()
}
return false
}