Fix alias for tool Cut Arc.

This commit is contained in:
Roman Telezhynskyi 2022-01-29 12:28:39 +02:00
parent 4b5773c506
commit 992375c754
2 changed files with 3 additions and 2 deletions

View File

@ -28,6 +28,7 @@
- Improved main path validations.
- New path validation Invalid segment.
- [smart-pattern/valentina#43] Background image.
- Fix alias for tool Cut Arc.
# Valentina 0.7.49 July 1, 2021
- Fix crash.

View File

@ -144,9 +144,9 @@ VToolCutArc* VToolCutArc::Create(VToolCutInitData &initData)
QPointF point = arc->CutArc(VAbstractValApplication::VApp()->toPixel(result), arc1, arc2);
arc1.SetAliasSuffix(initData.aliasSuffix1);
arc1.SetAliasSuffix(initData.aliasSuffix2);
arc2.SetAliasSuffix(initData.aliasSuffix2);
VPointF *p = new VPointF(point, initData.name, initData.mx, initData.my);
auto *p = new VPointF(point, initData.name, initData.mx, initData.my);
p->SetShowLabel(initData.showLabel);
auto a1 = QSharedPointer<VArc>(new VArc(arc1));