Fixed issue #817. Piece label is not rotatable by mouse.
--HG-- branch : develop
This commit is contained in:
parent
3bd958629f
commit
f605777495
|
@ -797,7 +797,7 @@ void VToolSeamAllowance::SaveRotationDetail(qreal dRot)
|
||||||
// Tranform angle to anticlockwise
|
// Tranform angle to anticlockwise
|
||||||
QLineF line(0, 0, 100, 0);
|
QLineF line(0, 0, 100, 0);
|
||||||
line.setAngle(-dRot);
|
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);
|
SavePieceOptions* rotateCommand = new SavePieceOptions(oldDet, newDet, doc, m_id);
|
||||||
rotateCommand->setText(tr("rotate pattern piece label"));
|
rotateCommand->setText(tr("rotate pattern piece label"));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user