mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-01 08:24:53 +00:00
Do not show preview of placeobject for Dump view - it was throwing exceptions.
This commit is contained in:
@@ -3506,7 +3506,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
|
||||
previewPanel.showSwf(swf);
|
||||
}
|
||||
}
|
||||
} else if (treeItem instanceof PlaceObjectTypeTag) {
|
||||
} else if ((treeItem instanceof PlaceObjectTypeTag) && (previewPanel != dumpPreviewPanel)) {
|
||||
TreePath path = tagTree.getModel().getTreePath(treeItem);
|
||||
Frame frame = (Frame) path.getParentPath().getLastPathComponent();
|
||||
previewPanel.showPlaceTagPanel((PlaceObjectTypeTag) treeItem, frame.frame);
|
||||
|
||||
Reference in New Issue
Block a user