fixes 0003823: FEM, unusable material property changing when using task panel

This commit is contained in:
wmayer
2019-02-18 23:26:00 +01:00
parent 062206bee2
commit 99355b6fd2
3 changed files with 32 additions and 16 deletions

View File

@@ -431,6 +431,11 @@ void InputField::setValue(const double& value)
setValue(Base::Quantity(value, actUnit));
}
double InputField::rawValue() const
{
return this->actQuantity.getValue();
}
void InputField::setUnit(const Base::Unit& unit)
{
actUnit = unit;