diff --git a/mac/Bagel/AppDelegate.swift b/mac/Bagel/AppDelegate.swift index 9809af0..af89c55 100644 --- a/mac/Bagel/AppDelegate.swift +++ b/mac/Bagel/AppDelegate.swift @@ -29,7 +29,7 @@ class AppDelegate: NSObject, NSApplicationDelegate { func applicationShouldHandleReopen(_ sender: NSApplication, hasVisibleWindows flag: Bool) -> Bool { - for window in sender.windows { + for window in sender.windows where window.isVisible { window.orderFront(self) }