From f605777495d9585cff47776b4cc7141897d9cb70 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 27 Feb 2018 13:06:37 +0200 Subject: [PATCH] Fixed issue #817. Piece label is not rotatable by mouse. --HG-- branch : develop --- src/libs/vtools/tools/vtoolseamallowance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vtools/tools/vtoolseamallowance.cpp b/src/libs/vtools/tools/vtoolseamallowance.cpp index 49f1b4641..e9c0ef4f0 100644 --- a/src/libs/vtools/tools/vtoolseamallowance.cpp +++ b/src/libs/vtools/tools/vtoolseamallowance.cpp @@ -797,7 +797,7 @@ void VToolSeamAllowance::SaveRotationDetail(qreal dRot) // Tranform angle to anticlockwise QLineF line(0, 0, 100, 0); line.setAngle(-dRot); - newDet.GetPatternPieceData().SetRotationWay(QString().setNum(line.angle())); + newDet.GetPatternPieceData().SetRotation(QString().setNum(line.angle())); SavePieceOptions* rotateCommand = new SavePieceOptions(oldDet, newDet, doc, m_id); rotateCommand->setText(tr("rotate pattern piece label"));