Changeset 19050 in osm for applications/editors/josm/plugins/walkingpapers/src
- Timestamp:
- 2009-12-12T17:34:12+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/walkingpapers/src/org/openstreetmap/josm/plugins/walkingpapers/WalkingPapersLayer.java
r18597 r19050 69 69 clearTileStorage(); 70 70 71 Layer. listeners.add(new LayerChangeListener() {71 Layer.addLayerChangeListener(new LayerChangeListener() { 72 72 public void activeLayerChange(Layer oldLayer, Layer newLayer) { 73 73 // if user changes to a walking papers layer, zoom there just as if … … 86 86 87 87 public void layerRemoved(Layer oldLayer) { 88 // 88 89 } 89 90 }); … … 407 408 } 408 409 409 @Override410 public void destroy() {411 Main.pref.listener.remove(WalkingPapersLayer.this);412 }413 414 410 public String getWalkingPapersId() { 415 411 return walkingPapersId;
Note:
See TracChangeset
for help on using the changeset viewer.