mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-07 04:08:51 +00:00
fix: scripts folder not visible on show empty folders setting (#2656)
Fixes #2656
This commit is contained in:
@@ -389,13 +389,13 @@ public class TagTreeModel extends AbstractTagTreeModel {
|
||||
break;
|
||||
case "scripts":
|
||||
if (swf.isAS3()) {
|
||||
if (!swf.getAbcList().isEmpty()) {
|
||||
if (addAllFolders || !swf.getAbcList().isEmpty()) {
|
||||
nodeList.add(new ClassesListTreeModel(swf, Configuration.flattenASPackages.get()));
|
||||
}
|
||||
} else {
|
||||
List<TreeItem> subNodes = swf.getFirstLevelASMNodes(currentTagScriptCache);
|
||||
|
||||
if (subNodes.size() > 0) {
|
||||
if (addAllFolders || !subNodes.isEmpty()) {
|
||||
TreeItem actionScriptNode = new FolderItem(translate("node.scripts"), FOLDER_SCRIPTS, swf, subNodes);
|
||||
nodeList.add(actionScriptNode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user