Changeset 14134 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java
- Timestamp:
- 2018-08-11T23:33:58+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java
r13940 r14134 35 35 import org.openstreetmap.josm.actions.relation.EditRelationAction; 36 36 import org.openstreetmap.josm.command.Command; 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; … … 560 561 final Command fixCommand = error.getFix(); 561 562 if (fixCommand != null) { 562 SwingUtilities.invokeAndWait(() -> MainApplication.undoRedo.addNoRedraw(fixCommand));563 SwingUtilities.invokeAndWait(() -> UndoRedoHandler.getInstance().addNoRedraw(fixCommand)); 563 564 } 564 565 // It is wanted to ignore an error if it said fixable, even if fixCommand was null … … 591 592 monitor.subTask(tr("Updating map ...")); 592 593 SwingUtilities.invokeAndWait(() -> { 593 MainApplication.undoRedo.afterAdd(null);594 UndoRedoHandler.getInstance().afterAdd(null); 594 595 invalidateValidatorLayers(); 595 596 tree.resetErrors();
Note:
See TracChangeset
for help on using the changeset viewer.