Settings window behavior improvements.
This commit is contained in:
@@ -100,12 +100,13 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSWindowDelegate {
|
||||
}
|
||||
|
||||
public func showAboutWindow() {
|
||||
NSApplication.shared.activate(ignoringOtherApps: true)
|
||||
aboutWindow.makeKeyAndOrderFront(nil)
|
||||
NSApplication.shared.activate(ignoringOtherApps: true)
|
||||
}
|
||||
|
||||
public func showSettingsWindow() {
|
||||
settingsWindow.makeKeyAndOrderFront(nil)
|
||||
NSApplication.shared.activate(ignoringOtherApps: true)
|
||||
}
|
||||
|
||||
// NOTE: This function act like a callback and is triggered by
|
||||
|
||||
Reference in New Issue
Block a user