- prop = shared_ptr<Property>(new Double(name, 2, "",
- nullptr, nullptr, get, set));
- else if (def_val.is_of_type(VariantType("u")))
+ prop = shared_ptr<Property>(new Double(name, desc, 2, "",
+ none, none, get, set));
+ else if (def_val.is_of_type(VariantType("i")) ||
+ def_val.is_of_type(VariantType("t")) ||
+ def_val.is_of_type(VariantType("u")))