mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-05 12:44:51 +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:
@@ -227,8 +227,10 @@ public class FontPanel extends JPanel {
|
||||
setAllowSave(true);
|
||||
setEditable(false);
|
||||
boolean readOnly = ((Tag) ft).isReadOnly();
|
||||
addCharsPanel.setVisible(!readOnly);
|
||||
buttonEdit.setVisible(!readOnly);
|
||||
if (readOnly) {
|
||||
addCharsPanel.setVisible(false);
|
||||
buttonEdit.setVisible(false);
|
||||
}
|
||||
}
|
||||
|
||||
private void initComponents() {
|
||||
|
||||
Reference in New Issue
Block a user