IDEA-189726 Tree expand unexpectedly when navigating using Up/Down keys

This commit is contained in:
Gregory.Shrago
2018-04-06 22:18:34 +03:00
parent 4f5eefdea2
commit ebbde95942
@@ -343,6 +343,7 @@ public class FileStructurePopup implements Disposable, TreeActionsOwner {
filter = prefix;
rebuild(true).processed(ignore -> UIUtil.invokeLaterIfNeeded(() -> {
if (isDisposed()) return;
TreeUtil.promiseExpandAll(myTree);
if (isBackspace && handleBackspace(filter)) {
return;
}