Fix removing a pin in the Seam Allowance tool dialog.

This commit is contained in:
Roman Telezhynskyi 2020-09-23 14:58:03 +03:00
parent e6bbd118d3
commit b83fec62bf
2 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@
- Fix crash after uniting three pieces in sequence. - Fix crash after uniting three pieces in sequence.
- Incorrect conversion to newer curve format. - Incorrect conversion to newer curve format.
- Elide a variable description in the formula wizard. - 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 # Version 0.6.1 October 23, 2018
- [#885] Regression. Broken support for multi size measurements. - [#885] Regression. Broken support for multi size measurements.

View File

@ -2855,7 +2855,7 @@ void DialogSeamAllowance::InitPinPoint(QComboBox *box)
box->addItem(data->GetGObject(pin)->name(), pin); box->addItem(data->GetGObject(pin)->name(), pin);
} }
const int index = uiTabPaths->comboBoxNodes->findData(currentId); const int index = box->findData(currentId);
if (index != -1) if (index != -1)
{ {
box->setCurrentIndex(index); box->setCurrentIndex(index);