Index: /applications/editors/josm/plugins/smed/plugs/lights/src/lights/Lights.java
===================================================================
--- /applications/editors/josm/plugins/smed/plugs/lights/src/lights/Lights.java	(revision 23492)
+++ /applications/editors/josm/plugins/smed/plugs/lights/src/lights/Lights.java	(revision 23493)
@@ -12,5 +12,4 @@
 import java.awt.event.ActionListener;
 import java.awt.Dimension;
-
 
 import smed.plug.ifc.SmedPluggable;
@@ -40,5 +39,5 @@
 	@Override
 	public boolean stop() {
-		if(sectors != null) {
+		if (sectors != null) {
 			sectors.setVisible(false);
 			sectors.dispose();
@@ -81,6 +80,7 @@
 	public boolean hasFocus() {
 		manager.showVisualMessage(msg);
-		if(rbFiredN != null)
-			if(rbFiredN.isSelected()) sectors.setVisible(true);
+		if (rbFiredN != null)
+			if (rbFiredN.isSelected())
+				sectors.setVisible(true);
 		return true;
 	}
@@ -88,5 +88,6 @@
 	@Override
 	public boolean lostFocus() {
-		if(sectors != null) sectors.setVisible(false);
+		if (sectors != null)
+			sectors.setVisible(false);
 		return true;
 	}
@@ -128,4 +129,7 @@
 						}
 						sectors.setVisible(true);
+					} else if (sectors != null) {
+						sectors.setVisible(false);
+						sectors.dispose();
 					}
 				}
