Fixed window menu not working on OS X

Related to #1091, #527 and #1180.
This commit is contained in:
Marco Antognini 2017-02-20 15:45:28 +01:00 committed by Lukas Dürrenberger
parent 6b71456a55
commit 756cb09bc3

View File

@ -93,7 +93,7 @@
////////////////////////////////////////////////////////
-(BOOL)validateMenuItem:(NSMenuItem*)menuItem
{
return [menuItem action] == @selector(performClose:);
return [menuItem action] == @selector(performClose:) || [super validateMenuItem:menuItem];
}