Fix preparing placeholders for piece areas.

This commit is contained in:
Roman Telezhynskyi 2023-05-16 17:51:48 +03:00
parent 7320c1c5df
commit e2815f39ed

View File

@ -755,7 +755,8 @@ void VToolSeamAllowance::Highlight(quint32 id)
*/ */
void VToolSeamAllowance::UpdateDetailLabel() 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 VPieceLabelData &labelData = detail.GetPieceLabelData();
const QVector<quint32> &pins = detail.GetPins(); const QVector<quint32> &pins = detail.GetPins();