Fix curve name in property browser for segmenting tools.

(cherry picked from commit 9d323169e2)
This commit is contained in:
Roman Telezhynskyi 2020-11-22 16:07:09 +02:00
parent e81d1167a3
commit 486e9bc917
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
- New function Warning. - New function Warning.
- [smart-pattern/valentina#80] Allow insertion of multiple nodes. - [smart-pattern/valentina#80] Allow insertion of multiple nodes.
- [smart-pattern/valentina#81] Tape crash on opening. - [smart-pattern/valentina#81] Tape crash on opening.
- Bug fixes.
# Version 0.7.39 Nov 17, 2020 # Version 0.7.39 Nov 17, 2020
- Fix crash for Line tool notes. - Fix crash for Line tool notes.

View File

@ -163,7 +163,7 @@ void VToolCut::SetAliasSuffix2(QString alias)
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
QString VToolCut::CurveName() const QString VToolCut::CurveName() const
{ {
return VAbstractTool::data.GetGObject(baseCurveId)->name(); return VAbstractTool::data.GetGObject(baseCurveId)->ObjectName();
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------