mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-24 20:05:33 +00:00
Fixed Go to document class when switched to tag list view
This commit is contained in:
@@ -19,6 +19,7 @@ All notable changes to this project will be documented in this file.
|
||||
- Exception when bundle selected
|
||||
- File path in window title for SWFs inside DefineBinaryData
|
||||
- [#1863] Export to PDF - cannot read fonts with long CMAP
|
||||
- Go to document class when switched to tag list view
|
||||
|
||||
## [16.2.0] - 2022-11-08
|
||||
### Added
|
||||
|
||||
@@ -1322,7 +1322,7 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<Scr
|
||||
public void hilightScript(SWF swf, String name) {
|
||||
View.checkAccess();
|
||||
|
||||
TagTreeModel ttm = (TagTreeModel) mainPanel.getCurrentTree().getModel();
|
||||
TagTreeModel ttm = (TagTreeModel) mainPanel.tagTree.getModel();
|
||||
TreeItem scriptsNode = ttm.getScriptsNode(swf);
|
||||
if (scriptsNode instanceof ClassesListTreeModel) {
|
||||
ClassesListTreeModel clModel = (ClassesListTreeModel) scriptsNode;
|
||||
@@ -1342,8 +1342,11 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<Scr
|
||||
}
|
||||
|
||||
if (pack != null) {
|
||||
if (mainPanel.getCurrentView() != MainPanel.VIEW_RESOURCES) {
|
||||
mainPanel.showView(MainPanel.VIEW_RESOURCES);
|
||||
}
|
||||
hilightScript(pack);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user