Changeset 17261 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java
- Timestamp:
- 2020-10-24T11:54:52+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java
r17252 r17261 628 628 if (error.isFixable()) { 629 629 if (error.getPrimitives().stream().noneMatch(p -> p.isDeleted() || p.getDataSet() == null)) { 630 TestError checked = error.doubleCheck(); 631 if (checked != null) { 632 final Command fixCommand = checked.getFix(); 633 if (fixCommand != null) { 634 SwingUtilities.invokeAndWait(fixCommand::executeCommand); 635 fixCommands.add(fixCommand); 636 } 630 final Command fixCommand = error.getFix(); 631 if (fixCommand != null) { 632 SwingUtilities.invokeAndWait(fixCommand::executeCommand); 633 fixCommands.add(fixCommand); 637 634 } 638 635 }
Note:
See TracChangeset
for help on using the changeset viewer.