mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-11 21:51:54 +00:00
#1047 6.0.2 open all scripts folders: fix
This commit is contained in:
@@ -961,11 +961,14 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
|
||||
List<TreeItem> nodes = getASTreeNodes(tagTree);
|
||||
for (TreeItem n : nodes) {
|
||||
if (n instanceof ClassesListTreeModel) {
|
||||
((ClassesListTreeModel) n).setFilter(filterField.getText());
|
||||
String filterText = filterField.getText();
|
||||
((ClassesListTreeModel) n).setFilter(filterText);
|
||||
TagTreeModel tm = tagTree.getModel();
|
||||
TreePath path = tm.getTreePath(n);
|
||||
tm.updateNode(path);
|
||||
View.expandTreeNodes(tagTree, path, true);
|
||||
if (!filterText.isEmpty()) {
|
||||
View.expandTreeNodes(tagTree, path, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user