diff --git a/ChangeLog.txt b/ChangeLog.txt index 5e5b3c291..5905ced0b 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -36,6 +36,7 @@ - Fix crash after uniting three pieces in sequence. - Incorrect conversion to newer curve format. - Elide a variable description in the formula wizard. +- Fix removing a pin in the Seam Allowance tool dialog. # Version 0.6.1 October 23, 2018 - [#885] Regression. Broken support for multi size measurements. diff --git a/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp b/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp index 763c5a8b3..b65f0f9ab 100644 --- a/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp +++ b/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp @@ -2855,7 +2855,7 @@ void DialogSeamAllowance::InitPinPoint(QComboBox *box) box->addItem(data->GetGObject(pin)->name(), pin); } - const int index = uiTabPaths->comboBoxNodes->findData(currentId); + const int index = box->findData(currentId); if (index != -1) { box->setCurrentIndex(index);