Fix @objc

This commit is contained in:
Qiu Yuzhou
2017-10-20 19:58:14 +08:00
parent d56b108eb8
commit 6dbf10b7f3
4 changed files with 21 additions and 22 deletions
@@ -22,7 +22,7 @@ class PreferencesWinController: NSWindowController {
toolbar.selectedItemIdentifier = NSToolbarItem.Identifier(rawValue: "general")
}
func windowWillClose(_ notification: Notification) {
@objc func windowWillClose(_ notification: Notification) {
NotificationCenter.default
.post(name: NOTIFY_CONF_CHANGED, object: nil)
}