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

@@ -2,8 +2,10 @@
All notable changes to this project will be documented in this file.
## [Unreleased]
### Fixed
- [#1860] FLA export - EmptyStackException during exporting MorphShape
- [#1782] FLA export - exporting from SWF files inside bundles (like binarysearch)
- Expand correct tree on SWF load
## [16.0.3] - 2022-11-02
### Fixed

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() {