before the great git rework
This commit is contained in:
@@ -74,7 +74,7 @@ final class WindowCoordinator: NSObject {
|
||||
window.delegate = closeGuard
|
||||
}
|
||||
|
||||
/// The first close only asks: unsaved files prompt, the note and session are written, then the window closes.
|
||||
/// The first close only asks: unsaved files prompt, the session is written, then the window closes.
|
||||
private func shouldClose(_ window: NSWindow) -> Bool {
|
||||
if closeApproved { return true }
|
||||
guard !isAskingToClose else { return false }
|
||||
|
||||
Reference in New Issue
Block a user