Ignore:
Timestamp:
2017-10-07T13:53:59+02:00 (9 years ago)
Author:
donvip
Message:

fix #josm15403, fix #josm15407, fix #josm15412

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix/AssociatedStreetFixer.java

    r32398 r33708  
    1717import org.openstreetmap.josm.data.osm.RelationMember;
    1818import org.openstreetmap.josm.data.osm.Way;
     19import org.openstreetmap.josm.gui.MainApplication;
    1920
    2021public class AssociatedStreetFixer extends RelationFixer {
     
    134135        List<Command> commandList = new ArrayList<>();
    135136        if (fixed) {
    136             commandList.add(new ChangeCommand(source, rel));
     137            commandList.add(new ChangeCommand(MainApplication.getLayerManager().getEditDataSet(), source, rel));
    137138        }
    138139
     
    150151                newWay.put("name", commonName);
    151152
    152                 commandList.add(new ChangeCommand(oldWay, newWay));
     153                commandList.add(new ChangeCommand(MainApplication.getLayerManager().getEditDataSet(), oldWay, newWay));
    153154            }
    154155         */
Note: See TracChangeset for help on using the changeset viewer.