diff --git a/src/app/widgets/vformulaproperty.cpp b/src/app/widgets/vformulaproperty.cpp index 4e32e8bf9..a1f881b53 100644 --- a/src/app/widgets/vformulaproperty.cpp +++ b/src/app/widgets/vformulaproperty.cpp @@ -214,7 +214,7 @@ void VFormulaProperty::ValueChildChanged(const QVariant &value, int typeForParen if (typeForParent == static_cast(ChildType::Formula)) { VFormula newFormula = GetFormula(); - newFormula.SetFormula(value.toString()); + newFormula.SetFormula(value.toString(), FormulaType::FromUser); SetFormula(newFormula); } }