From d87989bb8c576b0fb96692b84f31d24dc287eb44 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Mon, 31 Oct 2005 00:47:58 +0000 Subject: [PATCH] Handle key equivalents in menus. --- stepmania/PBProject/SMMain.mm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/PBProject/SMMain.mm b/stepmania/PBProject/SMMain.mm index dc740f65f6..764c616b6c 100755 --- a/stepmania/PBProject/SMMain.mm +++ b/stepmania/PBProject/SMMain.mm @@ -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]; }