before the great git rework
This commit is contained in:
@@ -32,7 +32,7 @@ public final class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
false
|
||||
}
|
||||
|
||||
/// ⌘Q asks about unsaved files in every window first, and writes each note and session before quitting.
|
||||
/// ⌘Q asks about unsaved files in every window first, and writes each session before quitting.
|
||||
public func applicationShouldTerminate(_ sender: NSApplication) -> NSApplication.TerminateReply {
|
||||
let models = WorkspaceRegistry.models
|
||||
guard !models.isEmpty else { return .terminateNow }
|
||||
|
||||
Reference in New Issue
Block a user