Enable command text input and chooser when Desktop or Desktop.Action.EDIT isn't supported

This commit is contained in:
JoePfeiffer 2023-01-24 10:22:41 -07:00
parent 09b19b4ec6
commit 4a4a89990f

View File

@ -96,11 +96,11 @@ public class EditDecalDialog extends JDialog {
} else {
commandText = new JTextArea();
commandText.setEnabled(false);
commandText.setEnabled(true);
panel.add(commandText, "growx, wrap");
final JButton chooser = new SelectColorButton(trans.get("EditDecalDialog.btn.chooser"));
chooser.setEnabled(false);
chooser.setEnabled(true);
chooser.addActionListener(new ActionListener() {
@Override