mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-28 15:30:45 +00:00
#886 Cancel button is disabled in editor mode fixed
This commit is contained in:
@@ -468,6 +468,7 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<ABC
|
||||
|
||||
private void setModified(boolean value) {
|
||||
saveDecompiledButton.setEnabled(value);
|
||||
cancelDecompiledButton.setEnabled(value);
|
||||
}
|
||||
|
||||
private boolean hasDeclaration(int pos) {
|
||||
|
||||
@@ -147,6 +147,7 @@ public class DetailPanel extends JPanel implements TagEditorPanel {
|
||||
|
||||
private void setModified(boolean value) {
|
||||
saveButton.setEnabled(value);
|
||||
cancelButton.setEnabled(value);
|
||||
}
|
||||
|
||||
public void setEditMode(boolean val) {
|
||||
|
||||
Reference in New Issue
Block a user