Ignore:
Timestamp:
2017-06-09T11:40:32+02:00 (2 years ago)
Author:
michael2402
Message:

CombineWayAction: Allow merging ways that are not in the current edit data set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/corrector/TagCorrector.java

    r10308 r12356  
    175175                    // save the clone
    176176                    if (!keysChanged.isEmpty()) {
    177                         commands.add(new ChangeCommand(primitive, clone));
     177                        commands.add(new ChangeCommand(primitive.getDataSet(), primitive, clone));
    178178                    }
    179179                }
     
    185185                        RoleCorrection roleCorrection = roleCorrections.get(i);
    186186                        if (roleTableMap.get(primitive).getCorrectionTableModel().getApply(i)) {
    187                             commands.add(new ChangeRelationMemberRoleCommand(
     187                            commands.add(new ChangeRelationMemberRoleCommand(roleCorrection.relation.getDataSet(),
    188188                                    roleCorrection.relation, roleCorrection.position, roleCorrection.newRole));
    189189                        }
Note: See TracChangeset for help on using the changeset viewer.