Fixes a couple of issues on macOS 11 sdk.

This commit is contained in:
Damiano Galassi committed 2020-07-10 13:10:35 +02:00
1 parent 903d344b56
commit a51c3a28ce
12 files changed
+100 -78

No files matched your search

-2
View File
@@ -16,11 +16,9 @@ class PrefsWindowController: NSWindowController, NSWindowDelegate {
override func windowDidLoad() {
super.windowDidLoad()
#if __MAC_10_16
if #available(macOS 10.16, *) {
window?.toolbarStyle = .preference
}
#endif
window?.toolbar?.allowsUserCustomization = false
window?.toolbar?.selectedItemIdentifier = general