- Timestamp:
- 2017-05-18T23:13:38+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ValidateAction.java
r11553 r12211 19 19 import org.openstreetmap.josm.data.validation.util.AggregatePrimitivesVisitor; 20 20 import org.openstreetmap.josm.gui.PleaseWaitRunnable; 21 import org.openstreetmap.josm.gui.layer.ValidatorLayer; 21 22 import org.openstreetmap.josm.gui.preferences.validator.ValidatorPreference; 22 23 import org.openstreetmap.josm.gui.util.GuiHelper; … … 141 142 Main.map.validatorDialog.tree.setErrors(errors); 142 143 Main.map.validatorDialog.unfurlDialog(); 143 Main.getLayerManager().getEditDataSet().fireSelectionChanged(); 144 //FIXME: nicer way to find / invalidate the corresponding error layer 145 Main.getLayerManager().getLayersOfType(ValidatorLayer.class).forEach(ValidatorLayer::invalidate); 144 146 }); 145 147 }
Note:
See TracChangeset
for help on using the changeset viewer.