fix random lookup focusing where it's not supposed to

This commit is contained in:
peter.gromov
2010-10-26 20:49:32 +04:00
parent b901a47268
commit 87cfb9babd
@@ -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());
}