diff --git a/ChangeLog.txt b/ChangeLog.txt index 3216ac423..e5af213c8 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,5 +1,6 @@ # Valentina 0.7.52 (unreleased) - Fix crash when default locale is ru. +- Puzzle app. Fix incorrect update of a layout piece. # Valentina 0.7.51 April 18, 2022 - Z value change for a layout piece. diff --git a/src/app/puzzle/layout/vppiece.cpp b/src/app/puzzle/layout/vppiece.cpp index e18de7cb5..e15ba3039 100644 --- a/src/app/puzzle/layout/vppiece.cpp +++ b/src/app/puzzle/layout/vppiece.cpp @@ -138,11 +138,11 @@ void VPPiece::Update(const VPPiecePtr &piece) } SetName(piece->GetName()); - SetCountourPoints(piece->GetContourPoints(), IsHideMainPath()); - SetSeamAllowancePoints(GetSeamAllowancePoints(), piece->IsSeamAllowance(), piece->IsSeamAllowanceBuiltIn()); - SetInternalPaths(GetInternalPaths()); - SetPassmarks(GetPassmarks()); - SetPlaceLabels(GetPlaceLabels()); + SetCountourPoints(piece->GetContourPoints(), piece->IsHideMainPath()); + SetSeamAllowancePoints(piece->GetSeamAllowancePoints(), piece->IsSeamAllowance(), piece->IsSeamAllowanceBuiltIn()); + SetInternalPaths(piece->GetInternalPaths()); + SetPassmarks(piece->GetPassmarks()); + SetPlaceLabels(piece->GetPlaceLabels()); SetGrainlineEnabled(piece->IsGrainlineEnabled()); SetGrainlineAngle(piece->GrainlineAngle());