From 2a544054333fc059e93d2bfefca01ad6bfc8eb0b Mon Sep 17 00:00:00 2001 From: "Gregory.Shrago" Date: Fri, 2 Mar 2018 20:11:40 +0300 Subject: [PATCH] save checkbox on each close regardless of isOK --- .../src/com/intellij/ide/util/gotoByName/ChooseByNamePopup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/ide/util/gotoByName/ChooseByNamePopup.java b/platform/lang-impl/src/com/intellij/ide/util/gotoByName/ChooseByNamePopup.java index 959bd8507edd..9713b315d50a 100644 --- a/platform/lang-impl/src/com/intellij/ide/util/gotoByName/ChooseByNamePopup.java +++ b/platform/lang-impl/src/com/intellij/ide/util/gotoByName/ChooseByNamePopup.java @@ -199,8 +199,8 @@ public class ChooseByNamePopup extends ChooseByNameBase implements ChooseByNameP return; } + myModel.saveInitialCheckBoxState(myCheckBox.isSelected()); if (isOk) { - myModel.saveInitialCheckBoxState(myCheckBox.isSelected()); final List chosenElements = getChosenElements(); if (chosenElements != null) {