Changeset 16247 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2020-04-09T17:37:48+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.