From 87cfb9babd8b114c87a0ba047b984da882836ab1 Mon Sep 17 00:00:00 2001 From: "peter.gromov" Date: Tue, 26 Oct 2010 19:55:21 +0400 Subject: [PATCH] fix random lookup focusing where it's not supposed to --- .../codeInsight/completion/CompletionProgressIndicator.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/completion/CompletionProgressIndicator.java b/platform/lang-impl/src/com/intellij/codeInsight/completion/CompletionProgressIndicator.java index 9357e657c668..0e6251e05cd2 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/completion/CompletionProgressIndicator.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/completion/CompletionProgressIndicator.java @@ -575,8 +575,7 @@ public class CompletionProgressIndicator extends ProgressIndicatorBase implement public void restartCompletion() { closeAndFinish(false); - final CodeCompletionHandlerBase newHandler = new CodeCompletionHandlerBase(myParameters.getCompletionType(), false, - !isAutopopupCompletion()); + final CodeCompletionHandlerBase newHandler = new CodeCompletionHandlerBase(myParameters.getCompletionType(), false, isAutopopupCompletion()); final PsiFile psiFileInEditor = PsiUtilBase.getPsiFileInEditor(myEditor, getProject()); newHandler.invokeCompletion(getProject(), myEditor, psiFileInEditor, myParameters.getInvocationCount()); }