Changeset 16247 in josm for trunk/src/org
- Timestamp:
- 2020-04-09T17:37:48+02:00 (5 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/OsmValidator.java
r16091 r16247 235 235 Logging.log(Logging.LEVEL_ERROR, "Unable to load ignored errors", e); 236 236 } 237 // see #19053: remove invalid entry 238 ignoredErrors.remove("3000"); 237 239 } 238 240 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java
r16187 r16247 411 411 lastSelectedNode = node; 412 412 if (node != null) { 413 final Set<String> codes = new HashSet<>(); 413 414 ValidatorTreePanel.visitTestErrors(node, error -> { 415 codes.add(error.getIgnoreSubGroup()); // see #19053 414 416 error.setSelected(true); 415 417 … … 423 425 selectAction.setEnabled(true); 424 426 if (ignoreAction != null) { 425 ignoreAction.setEnabled(!(node.getUserObject() instanceof Severity) );427 ignoreAction.setEnabled(!(node.getUserObject() instanceof Severity) && codes.size() <= 1); 426 428 } 427 429 }
Note:
See TracChangeset
for help on using the changeset viewer.