mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 06:26:16 +00:00
Fixed Exception on closing multiple SWFs
This commit is contained in:
@@ -1165,7 +1165,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
|
||||
AbstractTagTreeModel ttm = tagTree.getFullModel();
|
||||
if (ttm != null) {
|
||||
if (getCurrentSwf() == null) {
|
||||
tagTree.setSelectionPath(ttm.getTreePath(ttm.getRoot()));
|
||||
tagTree.clearSelection();
|
||||
}
|
||||
ttm.updateSwfs(e);
|
||||
tagTree.expandRoot();
|
||||
@@ -1185,7 +1185,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
|
||||
ttm = tagListTree.getFullModel();
|
||||
if (ttm != null) {
|
||||
if (getCurrentSwf() == null) {
|
||||
tagListTree.setSelectionPath(ttm.getTreePath(ttm.getRoot()));
|
||||
tagListTree.clearSelection();
|
||||
}
|
||||
ttm.updateSwfs(e);
|
||||
tagListTree.expandRoot();
|
||||
|
||||
Reference in New Issue
Block a user