From 6b2fefeadcbfb645a9b3e88f4ecfdc9611def157 Mon Sep 17 00:00:00 2001 From: Travis McArthur Date: Sat, 18 Jul 2015 14:41:46 -0700 Subject: [PATCH] Update configuration window --- src/macosx/UnrealIRCd/AppDelegate.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/macosx/UnrealIRCd/AppDelegate.swift b/src/macosx/UnrealIRCd/AppDelegate.swift index 9f5519211..9bce34bac 100644 --- a/src/macosx/UnrealIRCd/AppDelegate.swift +++ b/src/macosx/UnrealIRCd/AppDelegate.swift @@ -50,8 +50,9 @@ class AppDelegate: NSObject, NSApplicationDelegate { @IBAction func configureDaemon(sender: NSMenuItem) { let storyboard = NSStoryboard(name: "Main", bundle:nil) - let controller = storyboard!.instantiateControllerWithIdentifier("Configuration") - controller!.showWindow(self) + let controller = storyboard!.instantiateControllerWithIdentifier("Configuration") as! NSWindowController + + controller.showWindow(self) } @IBAction func help(sender: NSMenuItem) {