Changeset 12386 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2017-06-10T13:48:59+02:00 (7 years ago)
Author:
Don-vip
Message:

specify dataset when constructing DeleteCommand from SimplifyWayAction (causes error in opendata plugin unit test)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java

    r12287 r12386  
    218218        newWay.setNodes(newNodes);
    219219        cmds.add(new ChangeCommand(w, newWay));
    220         cmds.add(new DeleteCommand(delNodes));
     220        cmds.add(new DeleteCommand(w.getDataSet(), delNodes));
    221221        w.getDataSet().clearSelection(delNodes);
    222222        return new SequenceCommand(
Note: See TracChangeset for help on using the changeset viewer.