Deactivated close and min button
This commit is contained in:
parent
8543405421
commit
9493d4f5bd
Binary file not shown.
@ -25,6 +25,9 @@ class WindowController: NSWindowController {
|
||||
|
||||
// Implement this method to handle any initialization after your window controller's window has been loaded from its nib file.
|
||||
|
||||
self.window!.standardWindowButton(NSWindowButton.closeButton)!.isEnabled = false
|
||||
self.window!.standardWindowButton(NSWindowButton.miniaturizeButton)!.isEnabled = false
|
||||
|
||||
self.activity.stringValue = ""
|
||||
|
||||
let nc = NotificationCenter.default
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user