userValue = defaultValue;\r
}\r
\r
-BlockParameterUser::BlockParameterUser(AbstractBlock* _owner, const QString &_name, const QString &_value) : BlockParameter(_owner, _name, "string", _value) {\r
+BlockParameterUser::BlockParameterUser(AbstractBlock* _owner, const QString &_name, const QString &_type, const QString &_value) : BlockParameter(_owner, _name, _type, _value) {\r
userValue = defaultValue;\r
}\r
\r
}\r
\r
BlockParameter* BlockParameterUser::clone() {\r
- BlockParameter* block = new BlockParameterUser(owner,name,defaultValue.toString());\r
+ BlockParameter* block = new BlockParameterUser(owner,name,getTypeString(), defaultValue.toString());\r
return block;\r
}\r
\r