--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-02-17 19:03:05 +02:00
commit 614b57a5f2

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);
} }
} }