diff options
author | avenjamin <avenjamin@gmail.com> | 2009-11-09 23:29:48 +0000 |
---|---|---|
committer | avenjamin <avenjamin@gmail.com> | 2009-11-09 23:29:48 +0000 |
commit | ac20f58238c674028c12eb8db7942bb11fc6659b (patch) | |
tree | 8dc3a8ef93b218ff999161a9a28d479e3dbf991a /Source/TableContent.m | |
parent | 3e5038fa11598fde4b424008888dad20a048c755 (diff) | |
download | sequelpro-ac20f58238c674028c12eb8db7942bb11fc6659b.tar.gz sequelpro-ac20f58238c674028c12eb8db7942bb11fc6659b.tar.bz2 sequelpro-ac20f58238c674028c12eb8db7942bb11fc6659b.zip |
Set keyboard shortcut for Delete button in "Delete Rows" alert to command D.
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r-- | Source/TableContent.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m index da61414c..6d1c4a54 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -1123,7 +1123,8 @@ NSArray *buttons = [alert buttons]; // Change the alert's cancel button to have the key equivalent of return - [[buttons objectAtIndex:0] setKeyEquivalent:@""]; + [[buttons objectAtIndex:0] setKeyEquivalent:@"d"]; + [[buttons objectAtIndex:0] setKeyEquivalentModifierMask:NSCommandKeyMask]; [[buttons objectAtIndex:1] setKeyEquivalent:@"\r"]; NSString *contextInfo = @"removerow"; |