mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-235642: clean caches in selection
GitOrigin-RevId: 0485211fc3143a5a0ca48e4698f71143ab4986d5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
43741a9991
commit
f4df2f203f
@@ -131,6 +131,12 @@ public abstract class AbstractProjectViewPane implements DataProvider, Disposabl
|
||||
private void rebuildCompletely() {
|
||||
updateFromRoot(true).waitFor(5000);
|
||||
myReadTreeState.clear(); // cleanup cached tree paths
|
||||
JTree tree = getTree();
|
||||
if (tree != null) {
|
||||
tree.clearSelection();
|
||||
tree.setAnchorSelectionPath(null);
|
||||
tree.setLeadSelectionPath(null);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user