New: Bezel accepts cmd+, to open the application preferences.

This commit is contained in:
Richard Mondello 2011-11-20 01:48:21 -05:00
parent 5e0fc08cbf
commit 419c05d468

View file

@ -322,6 +322,7 @@
return;
}
unichar pressed = [[theEvent charactersIgnoringModifiers] characterAtIndex:0];
NSUInteger modifiers = [theEvent modifierFlags];
switch ( pressed ) {
case 0x1B:
[self hideApp];
@ -329,6 +330,11 @@
case 0x3: case 0xD: // Enter or Return
[self pasteFromStack];
break;
case 44: // Comma
if ( modifiers & NSCommandKeyMask ) {
[self showPreferencePanel:nil];
}
break;
case NSUpArrowFunctionKey:
case NSLeftArrowFunctionKey:
[self stackUp];