diff options
author | Bibiko <bibiko@eva.mpg.de> | 2011-02-02 00:33:25 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2011-02-02 00:33:25 +0000 |
commit | 59702137f06be5819f486005ab1036a8824dbe6f (patch) | |
tree | e4d9781966e3cebc6395f92cc0039bc115c1a4e5 /Source | |
parent | 8f845a4a23d26c7842de6bd34a3d2f9ec7630ee5 (diff) | |
download | sequelpro-59702137f06be5819f486005ab1036a8824dbe6f.tar.gz sequelpro-59702137f06be5819f486005ab1036a8824dbe6f.tar.bz2 sequelpro-59702137f06be5819f486005ab1036a8824dbe6f.zip |
• removed keyboard short-cut ?\008^C for "Copy as RTF" since it's not a frequently used function
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPTextView.m | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/SPTextView.m b/Source/SPTextView.m index 82bfdedf..7876cbd1 100644 --- a/Source/SPTextView.m +++ b/Source/SPTextView.m @@ -2153,12 +2153,6 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse) } // Note: switch(insertedCharacter) {} does not work instead use charactersIgnoringModifiers - if([charactersIgnMod isEqualToString:@"c"]) // ^C copy as RTF - if(curFlags==(NSControlKeyMask)) - { - [self copyAsRTF]; - return; - } if([charactersIgnMod isEqualToString:@"h"]) // ^H show MySQL Help if(curFlags==(NSControlKeyMask)) { @@ -2986,9 +2980,8 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse) } if ([[[self class] defaultMenu] itemWithTag:SP_CQ_COPY_AS_RTF_MENU_ITEM_TAG] == nil) { - NSMenuItem *copyAsRTFMenuItem = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Copy as RTF", @"Copy as RTF") action:@selector(copyAsRTF) keyEquivalent:@"c"]; + NSMenuItem *copyAsRTFMenuItem = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Copy as RTF", @"Copy as RTF") action:@selector(copyAsRTF) keyEquivalent:@""]; [copyAsRTFMenuItem setTag:SP_CQ_COPY_AS_RTF_MENU_ITEM_TAG]; - [copyAsRTFMenuItem setKeyEquivalentModifierMask:NSControlKeyMask]; [menu insertItem:copyAsRTFMenuItem atIndex:2]; [copyAsRTFMenuItem release]; } |