Ignore:
Timestamp:
2010-12-14T17:10:47+01:00 (13 years ago)
Author:
stoecker
Message:

default disable validator info warnings also for manual tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/ValidatorPreference.java

    r3671 r3723  
    5353    public static final String PREF_OTHER_UPLOAD = PREFIX + ".otherUpload";
    5454
     55    /** The preferences key for ignored severity other */
     56    public static final String PREF_OTHER = PREFIX + ".other";
     57
    5558    /**
    5659     * The preferences key for enabling the permanent filtering
     
    6265    private JCheckBox prefUseLayer;
    6366    private JCheckBox prefOtherUpload;
     67    private JCheckBox prefOther;
    6468
    6569    /** The list of all tests */
     
    7983        prefUseLayer.setToolTipText(tr("Use the error layer to display problematic elements."));
    8084        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());
    8189
    8290        prefOtherUpload = new JCheckBox(tr("Show informational level on upload."), Main.pref.getBoolean(PREF_OTHER_UPLOAD, false));
     
    126134        Main.pref.put(PREF_TESTS_BEFORE_UPLOAD, testsBeforeUpload.toString());
    127135        Main.pref.put(PREF_USE_IGNORE, prefUseIgnore.isSelected());
     136        Main.pref.put(PREF_OTHER, prefOther.isSelected());
    128137        Main.pref.put(PREF_OTHER_UPLOAD, prefOtherUpload.isSelected());
    129138        Main.pref.put(PREF_LAYER, prefUseLayer.isSelected());
Note: See TracChangeset for help on using the changeset viewer.