Fix dialog for tool Point along perpendicular. No memory of line color settings.

(grafted from d65f796893e4f8c04b535f711bd8d93275e2ddff)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-11-19 10:52:53 +02:00
parent 816db0a7bb
commit 0c0207aa6f
2 changed files with 3 additions and 1 deletions

View File

@ -69,6 +69,7 @@
- Key --ignoremargins still required margins. - Key --ignoremargins still required margins.
- [#978] Don't show errors in History dialog. - [#978] Don't show errors in History dialog.
- Fixed translation numbers in scientific notation. - Fixed translation numbers in scientific notation.
- Fix dialog for tool Point along perpendicular. No memory of line color settings.
# Version 0.6.1 October 23, 2018 # Version 0.6.1 October 23, 2018
- [#885] Regression. Broken support for multi size measurements. - [#885] Regression. Broken support for multi size measurements.

View File

@ -82,6 +82,7 @@ void VToolNormal::setDialog()
SCASSERT(not dialogTool.isNull()) SCASSERT(not dialogTool.isNull())
const QSharedPointer<VPointF> p = VAbstractTool::data.GeometricObject<VPointF>(m_id); const QSharedPointer<VPointF> p = VAbstractTool::data.GeometricObject<VPointF>(m_id);
dialogTool->SetTypeLine(m_lineType); dialogTool->SetTypeLine(m_lineType);
dialogTool->SetLineColor(lineColor);
dialogTool->SetFormula(formulaLength); dialogTool->SetFormula(formulaLength);
dialogTool->SetAngle(angle); dialogTool->SetAngle(angle);
dialogTool->SetFirstPointId(basePointId); dialogTool->SetFirstPointId(basePointId);