From 78341ef43418dd204778c729724822b8249e4a51 Mon Sep 17 00:00:00 2001 From: Felix Ulber Date: Tue, 17 Feb 2015 17:28:32 +0100 Subject: [PATCH] Fixed problem with formula editing in vtooloptionspropertybrowser and "," decimal separator, related to issue 234 --HG-- branch : develop --- src/app/widgets/vformulaproperty.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }