Permalink
Browse files

Merge pull request #1160 from pjrobertson/i1122

Don't perform key equivalents if the dSelector is empty. Fixes #1122
  • Loading branch information...
2 parents 686b171 + 8704910 commit 24f5bdb311024c53e838ab828a3d712c2ef7a56d @skurfer skurfer committed Oct 9, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 Quicksilver/Code-QuickStepInterface/QSSearchObjectView.m
@@ -1255,6 +1255,9 @@ - (void)scrollWheel:(NSEvent *)theEvent {
}
- (BOOL)performKeyEquivalent:(NSEvent *)theEvent {
+ if (![[self directSelector] objectValue]) {
+ return NO;
+ }
if ([[theEvent charactersIgnoringModifiers] isEqualToString:@"\r"] && ([theEvent modifierFlags] & NSCommandKeyMask) > 0) {
[self insertNewline:nil];
return YES;

0 comments on commit 24f5bdb

Please sign in to comment.