Ignore:
Timestamp:
2018-04-08T02:52:58+02:00 (7 years ago)
Author:
donvip
Message:

update to JOSM 13558

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/turnlanes/src/org/openstreetmap/josm/plugins/turnlanes/gui/TurnLanesDialog.java

    r33858 r34146  
    191191    @Override
    192192    public void activeOrEditLayerChanged(ActiveLayerChangeEvent e) {
    193         OsmDataLayer oldLayer = e.getPreviousEditLayer();
     193        OsmDataLayer oldLayer = e.getPreviousDataLayer();
    194194        if (oldLayer != null) {
    195             oldLayer.data.removeDataSetListener(dataSetListener);
     195            oldLayer.getDataSet().removeDataSetListener(dataSetListener);
    196196        }
    197197        OsmDataLayer newLayer = MainApplication.getLayerManager().getEditLayer();
    198198        if (newLayer != null) {
    199             newLayer.data.addDataSetListener(dataSetListener);
     199            newLayer.getDataSet().addDataSetListener(dataSetListener);
    200200        }
    201201    }
Note: See TracChangeset for help on using the changeset viewer.