Fixed window menu not working on OS X
Related to #1091, #527 and #1180.
This commit is contained in:
parent
6b71456a55
commit
756cb09bc3
@ -93,7 +93,7 @@
|
||||
////////////////////////////////////////////////////////
|
||||
-(BOOL)validateMenuItem:(NSMenuItem*)menuItem
|
||||
{
|
||||
return [menuItem action] == @selector(performClose:);
|
||||
return [menuItem action] == @selector(performClose:) || [super validateMenuItem:menuItem];
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user