Deactivated close and min button
This commit is contained in:
BIN
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
|
||||
|
||||
Reference in New Issue
Block a user