diff --git a/Clocker/AppDelegate.swift b/Clocker/AppDelegate.swift index a2d76ec..e49ba70 100644 --- a/Clocker/AppDelegate.swift +++ b/Clocker/AppDelegate.swift @@ -262,10 +262,6 @@ open class AppDelegate: NSObject, NSApplicationDelegate { return statusBarHandler } - open func setPanelDefaults() { - panelController.updateDefaultPreferences() - } - open func setupMenubarTimer() { statusBarHandler.setupStatusItem() } diff --git a/Clocker/Panel/ParentPanelController.swift b/Clocker/Panel/ParentPanelController.swift index 7f0de6c..4d16a3f 100644 --- a/Clocker/Panel/ParentPanelController.swift +++ b/Clocker/Panel/ParentPanelController.swift @@ -790,7 +790,7 @@ class ParentPanelController: NSWindowController { sharedDelegate.setupFloatingWindow(false) } else { sharedDelegate.setupFloatingWindow(true) - sharedDelegate.setPanelDefaults() + updateDefaultPreferences() } let mode = inverseSelection.isEqual(to: NSNumber(value: 1)) ? "Floating Mode" : "Menubar Mode"