1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-04 06:03:12 +02:00

Update configuration window

This commit is contained in:
Travis McArthur
2015-07-18 14:41:46 -07:00
parent e60ace66b5
commit 6b2fefeadc
+3 -2
View File
@@ -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) {