Changeset 10401 in josm
- Timestamp:
- 2016-06-16T15:57:28+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapView.java
r10395 r10401 490 490 this.layerManager = layerManager; 491 491 initialViewport = viewportData; 492 layerManager.addLayerChangeListener(this );492 layerManager.addLayerChangeListener(this, true); 493 493 layerManager.addActiveLayerChangeListener(this); 494 494 Main.pref.addPreferenceChangeListener(this); … … 1188 1188 */ 1189 1189 public void destroy() { 1190 layerManager.removeLayerChangeListener(this );1190 layerManager.removeLayerChangeListener(this, true); 1191 1191 layerManager.removeActiveLayerChangeListener(this); 1192 1192 Main.pref.removePreferenceChangeListener(this);
Note:
See TracChangeset
for help on using the changeset viewer.