Fix curve names in property browser.
This commit is contained in:
parent
1539abaf4d
commit
e2f4859d48
|
@ -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();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user