Handle key equivalents in menus.

This commit is contained in:
Steve Checkoway
2005-10-31 00:47:58 +00:00
parent b6df02af4c
commit d87989bb8c
+3 -1
View File
@@ -30,7 +30,9 @@ extern "C"
- (void)sendEvent:(NSEvent *)event
{
if( [event type] != NSKeyDown )
if( [event type] == NSKeyDown )
[[self mainMenu] performKeyEquivalent:event];
else
[super sendEvent:event];
}