Changeset 3723 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/ValidatorPreference.java
- Timestamp:
- 2010-12-14T17:10:47+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/ValidatorPreference.java
r3671 r3723 53 53 public static final String PREF_OTHER_UPLOAD = PREFIX + ".otherUpload"; 54 54 55 /** The preferences key for ignored severity other */ 56 public static final String PREF_OTHER = PREFIX + ".other"; 57 55 58 /** 56 59 * The preferences key for enabling the permanent filtering … … 62 65 private JCheckBox prefUseLayer; 63 66 private JCheckBox prefOtherUpload; 67 private JCheckBox prefOther; 64 68 65 69 /** The list of all tests */ … … 79 83 prefUseLayer.setToolTipText(tr("Use the error layer to display problematic elements.")); 80 84 testPanel.add(prefUseLayer, GBC.eol()); 85 86 prefOther = new JCheckBox(tr("Show informational level."), Main.pref.getBoolean(PREF_OTHER, false)); 87 prefOther.setToolTipText(tr("Show the informational tests.")); 88 testPanel.add(prefOther, GBC.eol()); 81 89 82 90 prefOtherUpload = new JCheckBox(tr("Show informational level on upload."), Main.pref.getBoolean(PREF_OTHER_UPLOAD, false)); … … 126 134 Main.pref.put(PREF_TESTS_BEFORE_UPLOAD, testsBeforeUpload.toString()); 127 135 Main.pref.put(PREF_USE_IGNORE, prefUseIgnore.isSelected()); 136 Main.pref.put(PREF_OTHER, prefOther.isSelected()); 128 137 Main.pref.put(PREF_OTHER_UPLOAD, prefOtherUpload.isSelected()); 129 138 Main.pref.put(PREF_LAYER, prefUseLayer.isSelected());
Note:
See TracChangeset
for help on using the changeset viewer.