Skip to content
Permalink
Browse files
환경설정 창 중복으로 뜨지 않도록
  • Loading branch information
youknowone committed Jul 11, 2020
1 parent 26a52ef commit 151efd1dd333a0c410b87a9e7e666a52483ca8ee
Showing 1 changed file with 3 additions and 3 deletions.
@@ -10,10 +10,10 @@ import Cocoa
import Foundation
import GureumCore

let preferencesWindow: NSWindowController = NSStoryboard(name: "Configuration", bundle: Bundle.main).instantiateInitialController() as! NSWindowController

func GureumShowPreferencesWindow() {
let main = NSStoryboard(name: "Configuration", bundle: Bundle.main).instantiateInitialController() as! NSWindowController
NSLog("main: \(main)")
main.showWindow(nil)
preferencesWindow.showWindow(nil)
}

// 왜 App delegate가 아니라 여기 붙는건지 모르겠다

0 comments on commit 151efd1

Please sign in to comment.