Make app delegate conform to NSUserInterfaceValidations protocol. Fix #1.

This commit is contained in:
Brent Simmons 2017-05-29 12:04:22 -07:00
parent d29727269c
commit f3c97506d5

View File

@ -17,7 +17,7 @@ import RSWeb
var currentTheme: VSTheme! var currentTheme: VSTheme!
@NSApplicationMain @NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate { class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations {
let windowControllers = NSMutableArray() let windowControllers = NSMutableArray()
var preferencesWindowController: NSWindowController? var preferencesWindowController: NSWindowController?