Index: applications/editors/josm/plugins/openlayers/build.xml
===================================================================
--- applications/editors/josm/plugins/openlayers/build.xml	(revision 18597)
+++ applications/editors/josm/plugins/openlayers/build.xml	(revision 19050)
@@ -37,5 +37,5 @@
                 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
                 <attribute name="Plugin-Description" value="Displays an OpenLayers background image" />
-                <attribute name="Plugin-Mainversion" value="2450"/>
+                <attribute name="Plugin-Mainversion" value="2620"/>
                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
             </manifest>
Index: applications/editors/josm/plugins/openlayers/src/org/openstreetmap/josm/plugins/openLayers/OpenLayersLayer.java
===================================================================
--- applications/editors/josm/plugins/openlayers/src/org/openstreetmap/josm/plugins/openLayers/OpenLayersLayer.java	(revision 18597)
+++ applications/editors/josm/plugins/openlayers/src/org/openstreetmap/josm/plugins/openLayers/OpenLayersLayer.java	(revision 19050)
@@ -15,5 +15,4 @@
 import org.openstreetmap.josm.actions.RenameLayerAction;
 import org.openstreetmap.josm.data.Bounds;
-import org.openstreetmap.josm.data.Preferences.PreferenceChangedListener;
 import org.openstreetmap.josm.data.coor.LatLon;
 import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
@@ -30,6 +29,5 @@
  *
  */
-public class OpenLayersLayer extends Layer implements PreferenceChangedListener,
-    PropertyChangeListener, MyHtmlBlockPanel.ViewUpdateListener {
+public class OpenLayersLayer extends Layer implements PropertyChangeListener, MyHtmlBlockPanel.ViewUpdateListener {
 
     private Browser browser;
@@ -110,6 +108,4 @@
     @Override
     public void destroy() {
-        Main.pref.listener.remove(this);
-
         if( Main.map != null )
             Main.map.mapView.removePropertyChangeListener(this);
@@ -117,7 +113,4 @@
         OpenLayersPlugin.layer = null;
         StorageManager.flush();
-    }
-
-    public void preferenceChanged(String key, String newValue) {
     }
 
