fixes #0002460: Use keyword 'explicit' for Quantity constructor
This commit is contained in:
@@ -106,7 +106,7 @@ void InputField::bind(const App::ObjectIdentifier &_path)
|
||||
PropertyQuantity * prop = freecad_dynamic_cast<PropertyQuantity>(getPath().getProperty());
|
||||
|
||||
if (prop)
|
||||
actQuantity = prop->getValue();
|
||||
actQuantity = Base::Quantity(prop->getValue());
|
||||
|
||||
DocumentObject * docObj = getPath().getDocumentObject();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user