Ticket #17401: 17401-bad.patch
File 17401-bad.patch, 1.1 KB (added by , 6 years ago) |
---|
-
src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java
33 33 import org.openstreetmap.josm.actions.ValidateAction; 34 34 import org.openstreetmap.josm.actions.relation.EditRelationAction; 35 35 import org.openstreetmap.josm.command.Command; 36 import org.openstreetmap.josm.command.SequenceCommand; 36 37 import org.openstreetmap.josm.data.UndoRedoHandler; 37 38 import org.openstreetmap.josm.data.osm.DataSelectionListener; 38 39 import org.openstreetmap.josm.data.osm.DataSet; … … 590 591 } 591 592 monitor.subTask(tr("Updating map ...")); 592 593 SwingUtilities.invokeAndWait(() -> { 593 UndoRedoHandler.getInstance().afterAdd( fixCommands);594 UndoRedoHandler.getInstance().afterAdd(new SequenceCommand("fix",fixCommands)); 594 595 invalidateValidatorLayers(); 595 596 tree.resetErrors(); 596 597 });