mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-06 20:15:59 +00:00
Corrected read only tags handling in GUI (allow edit only after pressing Edit button outside of Editor mode)
Font wideOffsets,wideCodes fixed in DefineFont2/3
This commit is contained in:
@@ -178,7 +178,9 @@ public class TextPanel extends JPanel implements TagEditorPanel {
|
||||
setModified(false);
|
||||
setEditText(false);
|
||||
boolean readOnly = ((Tag) textTag).isReadOnly();
|
||||
textValue.setEditable(!readOnly);
|
||||
if (readOnly) {
|
||||
textValue.setEditable(false);
|
||||
}
|
||||
buttonsPanel.setVisible(!readOnly);
|
||||
textAlignLeftButton.setVisible(!readOnly);
|
||||
textAlignCenterButton.setVisible(!readOnly);
|
||||
|
||||
Reference in New Issue
Block a user