Changeset 12785 in josm


Ignore:
Timestamp:
2017-09-08T10:55:56+02:00 (3 weeks ago)
Author:
Don-vip
Message:

fix #15268 - see #13036 - do not create empty MoveCommand in SelectAction

File:
1 edited

Legend:

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

    r12759 r12785  
    709709                    ((MoveCommand) c).saveCheckpoint();
    710710                    ((MoveCommand) c).applyVectorTo(currentEN);
    711                 } else {
     711                } else if (!selection.isEmpty()) {
    712712                    c = new MoveCommand(selection, startEN, currentEN);
    713713                    MainApplication.undoRedo.add(c);
Note: See TracChangeset for help on using the changeset viewer.