mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-06 16:15:44 +00:00
Optional heap memory status widget in the titlebar
This commit is contained in:
@@ -208,7 +208,7 @@ public class TextPanel extends JPanel implements TagEditorPanel {
|
||||
textValue.setCaretPosition(0);
|
||||
setModified(false);
|
||||
setEditText(false);
|
||||
boolean readOnly = ((Tag) textTag).isReadOnly();
|
||||
boolean readOnly = textTag == null ? true : ((Tag) textTag).isReadOnly();
|
||||
if (readOnly) {
|
||||
textValue.setEditable(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user