diff options
author | rowanbeentje <rowan@beent.je> | 2011-08-30 23:56:39 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2011-08-30 23:56:39 +0000 |
commit | a15f9f07c618351d61cc1991edf8c8b892e7d13e (patch) | |
tree | b0f96b01c939156cdb3576f962ac8f5d3145ef13 /Source | |
parent | 1a2439b27b6d0c3d654eb95d42e38deaf597eb80 (diff) | |
download | sequelpro-a15f9f07c618351d61cc1991edf8c8b892e7d13e.tar.gz sequelpro-a15f9f07c618351d61cc1991edf8c8b892e7d13e.tar.bz2 sequelpro-a15f9f07c618351d61cc1991edf8c8b892e7d13e.zip |
- Cancel and clear autocomplete if a keyboard combo is being run - this fixes Issue #1119
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPNarrowDownCompletion.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPNarrowDownCompletion.m b/Source/SPNarrowDownCompletion.m index eaf36e4f..226becf6 100644 --- a/Source/SPNarrowDownCompletion.m +++ b/Source/SPNarrowDownCompletion.m @@ -827,6 +827,9 @@ } else if((flags & NSAlternateKeyMask) || (flags & NSCommandKeyMask)) { + if (autocompletePlaceholderWasInserted) [self removeAutocompletionPlaceholderUsingFastMethod:YES]; + [theView setCompletionIsOpen:NO]; + [self close]; [NSApp sendEvent:event]; break; } |