mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-12 13:51:58 +00:00
small fixes
This commit is contained in:
@@ -778,12 +778,13 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec
|
||||
}
|
||||
}
|
||||
|
||||
/*for (SWFList swfList : swfs) {
|
||||
List<SWF> swfs2 = new ArrayList<>(swfList);
|
||||
for (SWF swf : swfs2) {
|
||||
swf.clearTagSwfs();
|
||||
}
|
||||
}*/
|
||||
for (SWFList swfList : swfs) {
|
||||
List<SWF> swfs2 = new ArrayList<>(swfList);
|
||||
for (SWF swf : swfs2) {
|
||||
swf.clearTagSwfs();
|
||||
}
|
||||
}
|
||||
|
||||
swfs.clear();
|
||||
oldItem = null;
|
||||
clear();
|
||||
@@ -807,6 +808,11 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec
|
||||
}
|
||||
}
|
||||
|
||||
List<SWF> swfs2 = new ArrayList<>(swfList);
|
||||
for (SWF swf : swfs2) {
|
||||
swf.clearTagSwfs();
|
||||
}
|
||||
|
||||
swfs.remove(swfList);
|
||||
oldItem = null;
|
||||
clear();
|
||||
@@ -2158,6 +2164,7 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec
|
||||
File selfile = Helper.fixDialogFile(selectedFile);
|
||||
byte[] data = Helper.readFile(selfile.getAbsolutePath());
|
||||
new BinaryDataImporter().importData(bt, data);
|
||||
refreshTree(bt.getSwf());
|
||||
reload(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user