[macos] Fixed exception on certain keyboard shortcuts

An implementation of -validateMenuItem: should rarely call the superclass implementation.
This commit is contained in:
Minh Nguyễn
2017-01-07 14:52:01 -08:00
committed by Minh Nguyễn
parent dea1a30332
commit 13db36c123

View File

@@ -2486,7 +2486,7 @@ public:
if (menuItem.action == @selector(giveFeedback:)) {
return YES;
}
return [super validateMenuItem:menuItem];
return NO;
}
#pragma mark Interface Builder methods