From 5472bef03ef206425a4e93fad9687e10cdfb8c83 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 19 Feb 2019 17:18:14 +0200 Subject: [PATCH] Fixed issue #948. Not possible to create point at 0 degrees. --HG-- branch : develop --- src/libs/vtools/dialogs/tools/dialogendline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vtools/dialogs/tools/dialogendline.cpp b/src/libs/vtools/dialogs/tools/dialogendline.cpp index ad5b6ecfd..0367894c4 100644 --- a/src/libs/vtools/dialogs/tools/dialogendline.cpp +++ b/src/libs/vtools/dialogs/tools/dialogendline.cpp @@ -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;