Commit 0610a242 authored by Gregor Longariva's avatar Gregor Longariva 💬
Browse files

On closing the "settings" Window, the App crashes. This is because the window...

On closing the "settings" Window, the App crashes. This is because the window will be released on close.
window.isReleasedWhenClosed = false will do the job
parent c66efead
......@@ -24,6 +24,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
var timer = Timer()
func applicationDidFinishLaunching(_ aNotification: Notification) {
window.isReleasedWhenClosed = false
//
// using "register" instead of "get" will set the values according to the plist read
// by "readPropertyList" if, and only if the respective values are nil. Those values
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment