diff --git a/Mac/AppDelegate.swift b/Mac/AppDelegate.swift index 21827bcb2..44b983214 100644 --- a/Mac/AppDelegate.swift +++ b/Mac/AppDelegate.swift @@ -343,8 +343,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, func createMainWindowController() -> MainWindowController { let controller: MainWindowController if #available(macOS 11.0, *) { - let storyboard = NSStoryboard(name: NSStoryboard.Name("MainWindow"), bundle: nil) - controller = storyboard.instantiateController(withIdentifier: "UnifiedWindowController") as! MainWindowController + controller = windowControllerWithName("UnifiedWindow") as! MainWindowController } else { controller = windowControllerWithName("MainWindow") as! MainWindowController } diff --git a/Mac/Base.lproj/MainWindow.storyboard b/Mac/Base.lproj/MainWindow.storyboard index f1c954c14..39bfd8bde 100644 --- a/Mac/Base.lproj/MainWindow.storyboard +++ b/Mac/Base.lproj/MainWindow.storyboard @@ -255,31 +255,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - @@ -322,13 +297,13 @@ - + - + @@ -341,7 +316,7 @@ - + @@ -359,7 +334,7 @@ - + @@ -475,7 +450,7 @@ - + @@ -509,7 +484,7 @@