Fixed problem with formula editing in vtooloptionspropertybrowser and "," decimal separator, related to issue 234

--HG--
branch : develop
This commit is contained in:
Felix Ulber 2015-02-17 17:28:32 +01:00
parent 0db66e1946
commit 78341ef434

View File

@ -214,7 +214,7 @@ void VFormulaProperty::ValueChildChanged(const QVariant &value, int typeForParen
if (typeForParent == static_cast<int>(ChildType::Formula)) if (typeForParent == static_cast<int>(ChildType::Formula))
{ {
VFormula newFormula = GetFormula(); VFormula newFormula = GetFormula();
newFormula.SetFormula(value.toString()); newFormula.SetFormula(value.toString(), FormulaType::FromUser);
SetFormula(newFormula); SetFormula(newFormula);
} }
} }