Fix removing a pin in the Seam Allowance tool dialog.

(cherry picked from commit b83fec62bf)
This commit is contained in:
Roman Telezhynskyi 2020-09-23 14:58:03 +03:00
parent 7ac93657cb
commit 047ace3f26
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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);