From a15f9f07c618351d61cc1991edf8c8b892e7d13e Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Tue, 30 Aug 2011 23:56:39 +0000 Subject: - Cancel and clear autocomplete if a keyboard combo is being run - this fixes Issue #1119 --- Source/SPNarrowDownCompletion.m | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source') 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; } -- cgit v1.2.3