From d97a70dd6db8a35b20822ad2a56ad774b7705c29 Mon Sep 17 00:00:00 2001 From: Anna Kozlova Date: Wed, 9 Sep 2015 20:22:40 +0300 Subject: [PATCH] ensure task is canceled when pin is pressed --- .../codeInsight/hint/actions/ShowImplementationsAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/hint/actions/ShowImplementationsAction.java b/platform/lang-impl/src/com/intellij/codeInsight/hint/actions/ShowImplementationsAction.java index c48ae61e93c6..0ae52361c720 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/hint/actions/ShowImplementationsAction.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/hint/actions/ShowImplementationsAction.java @@ -297,8 +297,8 @@ public class ShowImplementationsAction extends AnAction implements PopupAction { @Override public boolean process(JBPopup popup) { usageView.set(component.showInUsageView()); - myTaskRef = null; popup.cancel(); + myTaskRef = null; return false; } })