Cmd+q will close preferences instead of quitting the app
This commit is contained in:
@@ -185,7 +185,7 @@ static NSEventModifierFlags fnKeyFlags = NSEventModifierFlagShift | NSEventModif
|
||||
case 'c': if ([self sendAction:@selector(copy:) to:nil from:self]) return; break;
|
||||
case 'v': if ([self sendAction:@selector(paste:) to:nil from:self]) return; break;
|
||||
case 'a': if ([self sendAction:@selector(selectAll:) to:nil from:self]) return; break;
|
||||
case 'q': if ([self sendAction:@selector(terminate:) to:nil from:self]) return; break;
|
||||
case 'q': if ([self sendAction:@selector(performClose:) to:nil from:self]) return; break;
|
||||
case 'w': if ([self sendAction:@selector(performClose:) to:nil from:self]) return; break;
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wundeclared-selector"
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1032</string>
|
||||
<string>1037</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
|
||||
<key>LSUIElement</key>
|
||||
|
||||
Reference in New Issue
Block a user