Fixed Expand correct tree on SWF load

This commit is contained in:
Jindra Petřík
2022-11-03 08:44:30 +01:00
parent 80e557de2b
commit 3877e4ae1f
2 changed files with 4 additions and 2 deletions

View File

@@ -924,7 +924,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
public void load(SWFList newSwfs, boolean first) {
View.checkAccess();
List<List<String>> expandedNodes = View.getExpandedNodes(tagTree);
List<List<String>> expandedNodes = View.getExpandedNodes(getCurrentTree());
previewPanel.clear();
swfs.add(newSwfs);
@@ -935,7 +935,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
doFilter();
reload(false);
View.expandTreeNodes(tagTree, expandedNodes);
View.expandTreeNodes(getCurrentTree(), expandedNodes);
}
public ABCPanel getABCPanel() {