Ignore:
Timestamp:
16.02.2010 09:30:28 (2 years ago)
Author:
jttt
Message:

Fix #4406 tags disapear: merging node with ID:0 and tag to existing node without tags

File:
1 edited

Legend:

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

    r2779 r2996  
    222222        List<Command> cmds = new LinkedList<Command>(); 
    223223 
    224         if (getTagConflictResolverModel().getNumDecisions() > 0) { 
    225             TagCollection tc = getTagConflictResolverModel().getResolution(); 
    226             cmds.addAll(buildTagChangeCommand(targetPrimitive, tc)); 
     224        TagCollection allResolutions = getTagConflictResolverModel().getAllResolutions(); 
     225        if (allResolutions.size() > 0) { 
     226            cmds.addAll(buildTagChangeCommand(targetPrimitive, allResolutions)); 
    227227        } 
    228228        if (targetPrimitive.get("created_by") != null) { 
Note: See TracChangeset for help on using the changeset viewer.