Changeset 3170 in josm for trunk


Ignore:
Timestamp:
2010-04-06T20:38:48+02:00 (15 years ago)
Author:
bastiK
Message:

fixed #4818 - undo after merging two ways being members of relations isn't possible

File:
1 edited

Legend:

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

    r2711 r3170  
    214214        deletedWays.remove(targetWay);
    215215
    216         cmds.add(new DeleteCommand(deletedWays));
    217216        cmds.add(new ChangeCommand(targetWay, modifiedTargetWay));
    218217        cmds.addAll(dialog.buildResolutionCommands());
     218        cmds.add(new DeleteCommand(deletedWays));
    219219        final SequenceCommand sequenceCommand = new SequenceCommand(tr("Combine {0} ways", ways.size()), cmds);
    220220
Note: See TracChangeset for help on using the changeset viewer.