From 8f47603af3bce79fb6bbb1cfb253d36a74394d6b Mon Sep 17 00:00:00 2001 From: Nindi Gill Date: Sun, 11 Dec 2022 21:16:30 +1100 Subject: [PATCH] Prevent window tabs --- Mist/AppDelegate.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mist/AppDelegate.swift b/Mist/AppDelegate.swift index a7628bb..cc314da 100644 --- a/Mist/AppDelegate.swift +++ b/Mist/AppDelegate.swift @@ -19,6 +19,8 @@ class AppDelegate: NSObject, NSApplicationDelegate { let success: UNNotificationCategory = UNNotificationCategory(identifier: UNNotificationCategory.Identifier.success, actions: [show], intentIdentifiers: [], options: []) let failure: UNNotificationCategory = UNNotificationCategory(identifier: UNNotificationCategory.Identifier.failure, actions: [], intentIdentifiers: [], options: []) UNUserNotificationCenter.current().setNotificationCategories([success, failure]) + + NSWindow.allowsAutomaticWindowTabbing = false } func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {