mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
narrow down flag shouldn't be applied when entering selected element on filter toggle (IDEA-63157)
This commit is contained in:
@@ -274,7 +274,14 @@ public class FileStructureDialog extends DialogWrapper {
|
||||
myTreeStructure.rebuildTree();
|
||||
if (builder != null) {
|
||||
if (currentParent != null) {
|
||||
builder.enterElement(currentParent, PsiUtilBase.getVirtualFile(currentParent));
|
||||
boolean oldNarrowDown = myShouldNarrowDown;
|
||||
myShouldNarrowDown = false;
|
||||
try {
|
||||
builder.enterElement(currentParent, PsiUtilBase.getVirtualFile(currentParent));
|
||||
}
|
||||
finally {
|
||||
myShouldNarrowDown = oldNarrowDown;
|
||||
}
|
||||
}
|
||||
builder.updateList(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user