Enable command text input and chooser when Desktop or Desktop.Action.EDIT isn't supported
This commit is contained in:
parent
09b19b4ec6
commit
4a4a89990f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user