Remove isDisplayingSheet property now that it’s part of an NSWindowController extension.
This commit is contained in:
parent
8e7863c66d
commit
58a1a92481
|
@ -24,13 +24,6 @@ class MainWindowController : NSWindowController, NSUserInterfaceValidations {
|
|||
return isWindowLoaded && window!.isVisible
|
||||
}
|
||||
|
||||
var isDisplayingSheet: Bool {
|
||||
if let _ = window?.attachedSheet {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// MARK: NSWindowController
|
||||
|
||||
private let windowAutosaveName = NSWindow.FrameAutosaveName(rawValue: kWindowFrameKey)
|
||||
|
|
Loading…
Reference in New Issue