Index: /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreInterface.java
===================================================================
--- /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreInterface.java	(revision 21515)
+++ /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreInterface.java	(revision 21516)
@@ -152,4 +152,5 @@
         if (!newWMSLayerName.equals(lastWMSLayerName)) {
             interfaceRef = null;
+            cookie = null; // new since WMS server requires that we come back to the main form
         }
     }
