From f90c612287be6701c61b9d813313db37be2a3fc6 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sun, 8 Apr 2018 17:40:25 +0300 Subject: [PATCH] Because Seam allowance tool dialog doesn't control all piece options some of them were lost. ref #836. --HG-- branch : develop --- src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp b/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp index b3907c4e1..4ff609466 100644 --- a/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp +++ b/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp @@ -2316,7 +2316,7 @@ void DialogSeamAllowance::EditLabel() //--------------------------------------------------------------------------------------------------------------------- VPiece DialogSeamAllowance::CreatePiece() const { - VPiece piece; + VPiece piece = data->DataPieces()->value(toolId); // Get options we do not control with the dialog piece.GetPath().SetNodes(GetListInternals(uiTabPaths->listWidgetMainPath)); piece.SetCustomSARecords(GetListInternals(uiTabPaths->listWidgetCustomSA)); piece.SetInternalPaths(GetListInternals(uiTabPaths->listWidgetInternalPaths));