Index: /applications/editors/josm/plugins/reltoolbox/src/relcontext/ChosenRelation.java
===================================================================
--- /applications/editors/josm/plugins/reltoolbox/src/relcontext/ChosenRelation.java	(revision 28813)
+++ /applications/editors/josm/plugins/reltoolbox/src/relcontext/ChosenRelation.java	(revision 28814)
@@ -104,5 +104,5 @@
         if( newLayer != null && oldLayer == null ) {
             Main.map.mapView.addTemporaryLayer(this);
-        } else if( oldLayer != null ) {
+        } else if( newLayer == null ) {
             Main.map.mapView.removeTemporaryLayer(this);
         }
