Changeset 12052 in josm


Ignore:
Timestamp:
2017-05-03T17:55:56+02:00 (7 years ago)
Author:
michael2402
Message:

See #6447: Fix same issue for the move command (shift+arrow)

File:
1 edited

Legend:

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

    r11978 r12052  
    137137
    138138        ds.beginUpdate();
    139         if (c instanceof MoveCommand && affectedNodes.equals(((MoveCommand) c).getParticipatingPrimitives())) {
     139        if (c instanceof MoveCommand && ds.equals(((MoveCommand) c).getAffectedDataSet())
     140                && affectedNodes.equals(((MoveCommand) c).getParticipatingPrimitives())) {
    140141            ((MoveCommand) c).moveAgain(distx, disty);
    141142        } else {
Note: See TracChangeset for help on using the changeset viewer.