- Timestamp:
- 2010-12-27T13:56:11+01:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/upload/ValidateUploadHook.java
r3671 r3745 58 58 test.visit(selection); 59 59 test.endTest(); 60 if (Main.pref.getBoolean(ValidatorPreference.PREF_OTHER_UPLOAD, false)) { 60 if (Main.pref.getBoolean(ValidatorPreference.PREF_OTHER, false) && 61 Main.pref.getBoolean(ValidatorPreference.PREF_OTHER_UPLOAD, false)) 62 { 61 63 errors.addAll( test.getErrors() ); 62 64 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/validator/ValidatorTreePanel.java
r3742 r3745 148 148 } 149 149 150 boolean other = Main.pref.getBoolean(ValidatorPreference.PREF_OTHER _UPLOAD, false);150 boolean other = Main.pref.getBoolean(ValidatorPreference.PREF_OTHER, false); 151 151 for (TestError e : errors) { 152 152 if (e.getIgnored()) { -
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.