diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-12-03 10:37:17 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-12-03 10:37:17 +0000 |
commit | 81007b19f8df9efd7a3fd3999d29ddb2af006125 (patch) | |
tree | 9e25794f82e86c7e7c21fcc33d53fe76c18bb79a /Source/SPBundleEditorController.m | |
parent | fbaacf6f4f093faaa20af083190d62877e9b3874 (diff) | |
download | sequelpro-81007b19f8df9efd7a3fd3999d29ddb2af006125.tar.gz sequelpro-81007b19f8df9efd7a3fd3999d29ddb2af006125.tar.bz2 sequelpro-81007b19f8df9efd7a3fd3999d29ddb2af006125.zip |
• improved Bundle key equivalent handling and enabled to display all short-cuts in menuItem even there're same short-cuts are assigned
Diffstat (limited to 'Source/SPBundleEditorController.m')
-rw-r--r-- | Source/SPBundleEditorController.m | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/SPBundleEditorController.m b/Source/SPBundleEditorController.m index 56258ee3..2eb58edc 100644 --- a/Source/SPBundleEditorController.m +++ b/Source/SPBundleEditorController.m @@ -1006,6 +1006,16 @@ #pragma mark - #pragma mark SRRecorderControl delegate +- (BOOL) shortcutValidator:(SRValidator *)validator isKeyCode:(NSInteger)keyCode andFlagsTaken:(NSUInteger)flags reason:(NSString **)aReason; +{ + return YES; +} + +- (BOOL)shortcutRecorderCell:(SRRecorderCell *)aRecorderCell isKeyCode:(NSInteger)keyCode andFlagsTaken:(NSUInteger)flags reason:(NSString **)aReason +{ + return YES; +} + - (void)shortcutRecorder:(SRRecorderControl *)aRecorder keyComboDidChange:(KeyCombo)newKeyCombo { |