Index: /applications/editors/josm/plugins/openlayers/build.xml
===================================================================
--- /applications/editors/josm/plugins/openlayers/build.xml	(revision 16802)
+++ /applications/editors/josm/plugins/openlayers/build.xml	(revision 16803)
@@ -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="1498"/>
+                <attribute name="Plugin-Mainversion" value="1893"/>
                 <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 16802)
+++ /applications/editors/josm/plugins/openlayers/src/org/openstreetmap/josm/plugins/openLayers/OpenLayersLayer.java	(revision 16803)
@@ -76,6 +76,6 @@
     public Component[] getMenuEntries() {
         return new Component[] {
-            new JMenuItem(new LayerListDialog.ShowHideLayerAction(this)),
-            new JMenuItem(new LayerListDialog.DeleteLayerAction(this)),
+            new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)),
+            new JMenuItem(LayerListDialog.getInstance().createDeleteLayerAction(this)),
             new JSeparator(),
             // color,
@@ -118,5 +118,5 @@
 
     public void propertyChange(PropertyChangeEvent evt) {
-        if( !visible )
+        if( !isVisible() )
             return;
 
