Changeset 34146 in osm for applications/editors/josm
- Timestamp:
- 2018-04-08T02:52:58+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/turnlanes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/turnlanes/build.xml
r33858 r34146 5 5 <property name="commit.message" value="fix toolbar warnings - toolbar still does not work"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="1 2636"/>7 <property name="plugin.main.version" value="13558"/> 8 8 9 9 <!-- -
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.