preserve settings selection after filter is cleared (IDEA-106166)

This commit is contained in:
anna
2013-04-30 12:46:50 +02:00
parent e354b5d421
commit ee4498146e
@@ -901,7 +901,7 @@ public class OptionsEditor extends JPanel implements DataProvider, Place.Navigat
shouldMoveSelection = false;
}
Configurable toSelect = null;
Configurable toSelect = adjustSelection ? current : null;
if (shouldMoveSelection && myHits != null) {
if (!myHits.getNameHits().isEmpty()) {
toSelect = suggestToSelect(myHits.getNameHits(), myHits.getNameFullHits());