Ignore:
Timestamp:
2017-09-06T17:00:54+02:00 (7 years ago)
Author:
Don-vip
Message:

fix #15252 - see #13036 - MoveCommand created without data set

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
2 edited

Legend:

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

    r12641 r12759  
    144144                ((MoveCommand) c).moveAgain(distx, disty);
    145145            } else {
    146                 c = new MoveCommand(selection, distx, disty);
     146                c = new MoveCommand(ds, selection, distx, disty);
    147147                MainApplication.undoRedo.add(c);
    148148            }
  • trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java

    r12726 r12759  
    12441244                virtualCmds.add(new ChangeCommand(ds, w, wnew));
    12451245            }
    1246             virtualCmds.add(new MoveCommand(virtualNode, startEN, currentEN));
     1246            virtualCmds.add(new MoveCommand(ds, virtualNode, startEN, currentEN));
    12471247            String text = trn("Add and move a virtual new node to way",
    12481248                    "Add and move a virtual new node to {0} ways", virtualWays.size(),
Note: See TracChangeset for help on using the changeset viewer.