diff --git a/ChangeLog.txt b/ChangeLog.txt index 0b92373fe..45f80584c 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -91,6 +91,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 7ae853261..964493504 100644 --- a/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp +++ b/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp @@ -3017,7 +3017,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);