Bug in VFormula class. SetFormula was broken.
--HG-- branch : feature
This commit is contained in:
parent
8c0bdcc612
commit
7176bd0668
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user