Merge pull request #316 from danielpunkass/fix-toolbar-validation

Fix type optionality of makeToolbarValidate's sender parameter
This commit is contained in:
Brent Simmons 2018-01-29 09:52:34 -08:00 committed by GitHub
commit 63fc00ed0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class MainWindowController : NSWindowController, NSUserInterfaceValidations {
// MARK: Toolbar
@objc func makeToolbarValidate(_ sender: Any) {
@objc func makeToolbarValidate(_ sender: Any?) {
window?.toolbar?.validateVisibleItems()
}