Changeset 453 in josm for trunk/src/org


Ignore:
Timestamp:
2007-11-04T20:22:46+01:00 (17 years ago)
Author:
gebner
Message:

DeleteAction: Copy tags when splitting ways.

File:
1 edited

Legend:

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

    r376 r453  
    1212import java.util.Collections;
    1313import java.util.HashSet;
     14import java.util.HashMap;
    1415import java.util.LinkedList;
    1516import java.util.List;
     
    268269
    269270                        Way wnew2 = new Way();
     271                        if (wnew.keys != null) {
     272                                wnew2.keys = new HashMap<String, String>(wnew.keys);
     273                                wnew2.checkTagged();
     274                        }
    270275                        wnew2.nodes.addAll(n2);
    271276                        cmds.add(new AddCommand(wnew2));
Note: See TracChangeset for help on using the changeset viewer.