Index: applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/ButtonDescription.java
===================================================================
--- applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/ButtonDescription.java	(revision 3341)
+++ applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/ButtonDescription.java	(revision 3342)
@@ -30,4 +30,5 @@
 
 /**
+ * this class represents a button as it is described in the xml file.
  * @author cdaller
  *
@@ -86,5 +87,9 @@
         this.hotkey = hotkey;
         this.iconName = iconName;
-        this.type = type == null ? ButtonType.SINGLE : type;
+        if(type == null) {
+            this.type = ButtonType.SINGLE;
+        } else {
+            this.type = type;
+        }
         this.actions = actions;
     }
