Bug in VFormula class. SetFormula was broken.
--HG-- branch : feature
This commit is contained in:
@ -113,11 +113,11 @@ void VFormula::SetFormula(const QString &value, FormulaType type)
|
||||
{
|
||||
if (type == FormulaType::ToUser)
|
||||
{
|
||||
formula = value;
|
||||
formula = qApp->FormulaToUser(value);
|
||||
}
|
||||
else
|
||||
{
|
||||
formula = qApp->FormulaToUser(value);
|
||||
formula = value;
|
||||
}
|
||||
formula.replace("\n", " ");// Replace line return with spaces for calc if exist
|
||||
Eval();
|
||||
|
Reference in New Issue
Block a user