Changeset 34146 in osm for applications


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

update to JOSM 13558

Location:
applications/editors/josm/plugins/turnlanes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/turnlanes/build.xml

    r33858 r34146  
    55    <property name="commit.message" value="fix toolbar warnings - toolbar still does not work"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="12636"/>
     7    <property name="plugin.main.version" value="13558"/>
    88
    99    <!--
  • 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.