Changeset 2104 in josm for trunk/src/org


Ignore:
Timestamp:
2009-09-12T18:08:26+02:00 (15 years ago)
Author:
Gubaer
Message:

fixed #3402: Conflict in created_by when merging nodes or ways (created_by now dropped during combine way and merge node)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/conflict/tags/CombinePrimitiveResolverDialog.java

    r2099 r2104  
    2828import org.openstreetmap.josm.data.osm.Node;
    2929import org.openstreetmap.josm.data.osm.OsmPrimitive;
     30import org.openstreetmap.josm.data.osm.Tag;
    3031import org.openstreetmap.josm.data.osm.TagCollection;
    3132import org.openstreetmap.josm.data.osm.Way;
     
    189190            cmds.addAll(buildTagChangeCommand(targetPrimitive, tc));
    190191        }
     192        if (targetPrimitive.get("created_by") != null) {
     193            cmds.add(new ChangePropertyCommand(targetPrimitive, "created_by", null));
     194        }
    191195
    192196        if (getRelationMemberConflictResolverModel().getNumDecisions() >0) {
Note: See TracChangeset for help on using the changeset viewer.