Changeset 14134 in josm for trunk/src/org/openstreetmap/josm/actions/relation/AddSelectionToRelations.java
- Timestamp:
- 2018-08-11T23:33:58+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/relation/AddSelectionToRelations.java
r13957 r14134 13 13 import org.openstreetmap.josm.command.Command; 14 14 import org.openstreetmap.josm.command.SequenceCommand; 15 import org.openstreetmap.josm.data.UndoRedoHandler; 15 16 import org.openstreetmap.josm.data.osm.DataSelectionListener; 16 17 import org.openstreetmap.josm.data.osm.IPrimitive; … … 48 49 } 49 50 if (!cmds.isEmpty()) { 50 MainApplication.undoRedo.add(new SequenceCommand(tr("Add selection to relation"), cmds));51 UndoRedoHandler.getInstance().add(new SequenceCommand(tr("Add selection to relation"), cmds)); 51 52 new Notification( 52 53 "<html>"+
Note:
See TracChangeset
for help on using the changeset viewer.