Changeset 2283 in josm


Ignore:
Timestamp:
2009-10-13T06:45:03+02:00 (10 years ago)
Author:
Gubaer
Message:

fixed #3698: copying a relation or its keys/values impossible

File:
1 edited

Legend:

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

    r2256 r2283  
    7979                Way wnew = new Way();
    8080                wnew.cloneFrom(w);
     81                map.put(w, wnew);
    8182                List<Node> nodes = new ArrayList<Node>();
    8283                for (Node n : w.getNodes()) {
     
    9394                    return;
    9495                Relation enew = new Relation(e);
     96                map.put(e, enew);
    9597                List<RelationMember> members = new ArrayList<RelationMember>();
    9698                for (RelationMember m : e.getMembers()) {
Note: See TracChangeset for help on using the changeset viewer.