Fix curve names in property browser.

This commit is contained in:
Roman Telezhynskyi 2020-11-25 08:44:05 +02:00
parent 1539abaf4d
commit e2f4859d48
2 changed files with 3 additions and 3 deletions

View File

@ -222,7 +222,7 @@ void VToolCurveIntersectAxis::SetFormulaAngle(const VFormula &value)
//---------------------------------------------------------------------------------------------------------------------
QString VToolCurveIntersectAxis::CurveName() const
{
return VAbstractTool::data.GetGObject(curveId)->name();
return VAbstractTool::data.GetGObject(curveId)->ObjectName();
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -283,13 +283,13 @@ bool VToolPointOfIntersectionCurves::FindPoint(const QVector<QPointF> &curve1Poi
//---------------------------------------------------------------------------------------------------------------------
QString VToolPointOfIntersectionCurves::FirstCurveName() const
{
return VAbstractTool::data.GetGObject(firstCurveId)->name();
return VAbstractTool::data.GetGObject(firstCurveId)->ObjectName();
}
//---------------------------------------------------------------------------------------------------------------------
QString VToolPointOfIntersectionCurves::SecondCurveName() const
{
return VAbstractTool::data.GetGObject(secondCurveId)->name();
return VAbstractTool::data.GetGObject(secondCurveId)->ObjectName();
}
//---------------------------------------------------------------------------------------------------------------------