Fixed issue #948. Not possible to create point at 0 degrees.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-02-19 17:18:14 +02:00
parent f44362297b
commit 5472bef03e

View File

@ -146,7 +146,7 @@ void DialogEndLine::EvalAngle()
void DialogEndLine::EvalLength()
{
FormulaData formulaData;
formulaData.formula = ui->plainTextEditAngle->toPlainText();
formulaData.formula = ui->plainTextEditFormula->toPlainText();
formulaData.variables = data->DataVariables();
formulaData.labelEditFormula = ui->labelEditFormula;
formulaData.labelResult = ui->labelResultCalculation;