Changeset 10611 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/validator
- Timestamp:
- 2016-07-23T18:46:45+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/validator/ValidatorTestsPreference.java
r9778 r10611 5 5 6 6 import java.awt.GridBagLayout; 7 import java.awt.event.ActionEvent;8 7 import java.awt.event.ActionListener; 9 8 import java.util.ArrayList; … … 76 75 testPanel.add(prefOtherUpload, GBC.eol()); 77 76 78 ActionListener otherUploadEnabled = new ActionListener() { 79 @Override 80 public void actionPerformed(ActionEvent e) { 81 prefOtherUpload.setEnabled(prefOther.isSelected()); 82 } 83 }; 77 ActionListener otherUploadEnabled = e -> prefOtherUpload.setEnabled(prefOther.isSelected()); 84 78 prefOther.addActionListener(otherUploadEnabled); 85 79 otherUploadEnabled.actionPerformed(null);
Note:
See TracChangeset
for help on using the changeset viewer.