Changeset 3745 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/ValidatorPreference.java
- Timestamp:
- 2010-12-27T13:56:11+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/ValidatorPreference.java
r3735 r3745 5 5 6 6 import java.awt.GridBagLayout; 7 import java.awt.event.ActionEvent; 8 import java.awt.event.ActionListener; 7 9 import java.util.Collection; 8 10 … … 92 94 testPanel.add(prefOtherUpload, GBC.eol()); 93 95 96 ActionListener otherUploadEnabled = new ActionListener() { 97 public void actionPerformed(ActionEvent e) { 98 prefOtherUpload.setEnabled(prefOther.isSelected()); 99 } 100 }; 101 prefOther.addActionListener(otherUploadEnabled); 102 otherUploadEnabled.actionPerformed(null); 103 94 104 GBC a = GBC.eol().insets(-5,0,0,0); 95 105 a.anchor = GBC.EAST;
Note:
See TracChangeset
for help on using the changeset viewer.