Changeset 34146 in osm for applications/editors/josm/plugins/turnlanes/src/org/openstreetmap
- Timestamp:
- 2018-04-08T02:52:58+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/turnlanes/src/org/openstreetmap/josm/plugins/turnlanes/gui/TurnLanesDialog.java
r33858 r34146 191 191 @Override 192 192 public void activeOrEditLayerChanged(ActiveLayerChangeEvent e) { 193 OsmDataLayer oldLayer = e.getPrevious EditLayer();193 OsmDataLayer oldLayer = e.getPreviousDataLayer(); 194 194 if (oldLayer != null) { 195 oldLayer. data.removeDataSetListener(dataSetListener);195 oldLayer.getDataSet().removeDataSetListener(dataSetListener); 196 196 } 197 197 OsmDataLayer newLayer = MainApplication.getLayerManager().getEditLayer(); 198 198 if (newLayer != null) { 199 newLayer. data.addDataSetListener(dataSetListener);199 newLayer.getDataSet().addDataSetListener(dataSetListener); 200 200 } 201 201 }
Note:
See TracChangeset
for help on using the changeset viewer.