From 2b493026348800c96195faba312f8ac849c7a5c5 Mon Sep 17 00:00:00 2001 From: Matt Sephton Date: Sun, 5 Jul 2020 12:35:28 +0100 Subject: [PATCH] Update Dozer/DozerIcons.swift Co-authored-by: Morten --- Dozer/DozerIcons.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dozer/DozerIcons.swift b/Dozer/DozerIcons.swift index fe8fa62..495ce98 100755 --- a/Dozer/DozerIcons.swift +++ b/Dozer/DozerIcons.swift @@ -89,6 +89,10 @@ public final class DozerIcons { public var enableIconAndMenu: Bool = Defaults[.showIconAndMenuEnabled] { didSet { Defaults[.showIconAndMenuEnabled] = self.enableIconAndMenu + if self.enableIconAndMenu == false { + _ = DozerIcons.toggleDockIcon(showIcon: false) + appDelegate.preferencesWindowController.show(preferencePane: .general) + } } }