Index: /applications/editors/josm/plugins/imageryadjust/build.xml
===================================================================
--- /applications/editors/josm/plugins/imageryadjust/build.xml	(revision 27539)
+++ /applications/editors/josm/plugins/imageryadjust/build.xml	(revision 27540)
@@ -30,5 +30,5 @@
 <project name="imageryadjust" default="dist" basedir=".">
     <!-- enter the SVN commit message -->
-    <property name="commit.message" value="ImageryAdjust: show visible layers only"/>
+    <property name="commit.message" value="ImageryAdjust: adjust single visible layer"/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
     <property name="plugin.main.version" value="4667"/>
Index: /applications/editors/josm/plugins/imageryadjust/src/imageryadjust/ImageryAdjustMapMode.java
===================================================================
--- /applications/editors/josm/plugins/imageryadjust/src/imageryadjust/ImageryAdjustMapMode.java	(revision 27539)
+++ /applications/editors/josm/plugins/imageryadjust/src/imageryadjust/ImageryAdjustMapMode.java	(revision 27540)
@@ -69,5 +69,5 @@
             adjustingLayer.setVisible(true);
         }
-        Main.map.mapView.addMouseListener(this);
+       Main.map.mapView.addMouseListener(this);
         Main.map.mapView.addMouseMotionListener(this);
     }
@@ -146,4 +146,6 @@
      */
     protected Layer askAdjustLayer(List<? extends Layer> adjustableLayers) {
+        if (adjustableLayers.size()==0) return null;
+        if (adjustableLayers.size()==1) return adjustableLayers.get(0);
         JComboBox layerList = new JComboBox();
         layerList.setRenderer(new LayerListCellRenderer());
