aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPContentFilterManager.m
diff options
context:
space:
mode:
authoravenjamin <avenjamin@gmail.com>2009-11-10 00:18:53 +0000
committeravenjamin <avenjamin@gmail.com>2009-11-10 00:18:53 +0000
commitf04ce0c7a9266238d3391f03c9193ca92071812e (patch)
treeee30a0c7069377ee6296fd09cd10112cbbab99fe /Source/SPContentFilterManager.m
parentc5a38fc6f465683d01e0dbc79b7e857ab2a43ef7 (diff)
downloadsequelpro-f04ce0c7a9266238d3391f03c9193ca92071812e.tar.gz
sequelpro-f04ce0c7a9266238d3391f03c9193ca92071812e.tar.bz2
sequelpro-f04ce0c7a9266238d3391f03c9193ca92071812e.zip
Set keyboard shortcut for Remove button in alert dialogs to command R.
Fix method declaration type mismatch warning for sheetDidEnd.
Diffstat (limited to 'Source/SPContentFilterManager.m')
-rw-r--r--Source/SPContentFilterManager.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPContentFilterManager.m b/Source/SPContentFilterManager.m
index 44e74ebc..2fd22dfd 100644
--- a/Source/SPContentFilterManager.m
+++ b/Source/SPContentFilterManager.m
@@ -280,7 +280,7 @@
NSArray *buttons = [alert buttons];
// Change the alert's cancel button to have the key equivalent of return
- [[buttons objectAtIndex:0] setKeyEquivalent:@"d"];
+ [[buttons objectAtIndex:0] setKeyEquivalent:@"r"];
[[buttons objectAtIndex:0] setKeyEquivalentModifierMask:NSCommandKeyMask];
[[buttons objectAtIndex:1] setKeyEquivalent:@"\r"];