[macos] Fixed exception on certain keyboard shortcuts
An implementation of -validateMenuItem: should rarely call the superclass implementation.
This commit is contained in:
committed by
Minh Nguyễn
parent
dea1a30332
commit
13db36c123
@@ -2486,7 +2486,7 @@ public:
|
||||
if (menuItem.action == @selector(giveFeedback:)) {
|
||||
return YES;
|
||||
}
|
||||
return [super validateMenuItem:menuItem];
|
||||
return NO;
|
||||
}
|
||||
|
||||
#pragma mark Interface Builder methods
|
||||
|
||||
Reference in New Issue
Block a user