mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-13 02:20:12 +00:00
generic tag panel - fix exception
This commit is contained in:
@@ -924,6 +924,9 @@ public class GenericTagTreePanel extends GenericTagPanel {
|
||||
}
|
||||
|
||||
private TreeModel getModel() {
|
||||
if (editedTag == null) {
|
||||
return new DefaultTreeModel(new DefaultMutableTreeNode("root"));
|
||||
}
|
||||
return new MyTreeModel(editedTag);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user