From e2815f39ed5670ea3a4a34554c8ad9201663d078 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 16 May 2023 17:51:48 +0300 Subject: [PATCH] Fix preparing placeholders for piece areas. --- src/libs/vtools/tools/vtoolseamallowance.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libs/vtools/tools/vtoolseamallowance.cpp b/src/libs/vtools/tools/vtoolseamallowance.cpp index e12510c25..e0d812a42 100644 --- a/src/libs/vtools/tools/vtoolseamallowance.cpp +++ b/src/libs/vtools/tools/vtoolseamallowance.cpp @@ -755,7 +755,8 @@ void VToolSeamAllowance::Highlight(quint32 id) */ void VToolSeamAllowance::UpdateDetailLabel() { - const VPiece detail = VAbstractTool::data.GetPiece(m_id); + VPiece detail = VAbstractTool::data.GetPiece(m_id); + detail.SetPieceLabelData(detail.GetPieceLabelData()); // Refresh translation const VPieceLabelData &labelData = detail.GetPieceLabelData(); const QVector &pins = detail.GetPins();