diff --git a/Clocker/Panel/PanelController.swift b/Clocker/Panel/PanelController.swift index 0b11f08..c86811d 100644 --- a/Clocker/Panel/PanelController.swift +++ b/Clocker/Panel/PanelController.swift @@ -398,6 +398,8 @@ extension PanelController: NSWindowDelegate { } func windowDidResignKey(_: Notification) { + parentTimer = nil + if let isVisible = window?.isVisible, isVisible == true { setActivePanel(newValue: false) }