Fix regression.

Found another way to fix tool Flipping by axis.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-06-19 18:39:37 +03:00
parent 0ffd46215c
commit ad07fb3ae5
2 changed files with 2 additions and 1 deletions

View File

@ -77,6 +77,8 @@ DialogFlippingByAxis::DialogFlippingByAxis(const VContainer *data, quint32 toolI
FillComboBoxPoints(ui->comboBoxOriginPoint); FillComboBoxPoints(ui->comboBoxOriginPoint);
FillComboBoxAxisType(ui->comboBoxAxisType); FillComboBoxAxisType(ui->comboBoxAxisType);
ui->comboBoxOriginPoint->setCurrentIndex(-1);
connect(ui->lineEditSuffix, &QLineEdit::textChanged, this, &DialogFlippingByAxis::SuffixChanged); connect(ui->lineEditSuffix, &QLineEdit::textChanged, this, &DialogFlippingByAxis::SuffixChanged);
connect(ui->comboBoxOriginPoint, QOverload<const QString &>::of(&QComboBox::currentIndexChanged), connect(ui->comboBoxOriginPoint, QOverload<const QString &>::of(&QComboBox::currentIndexChanged),
this, &DialogFlippingByAxis::PointChanged); this, &DialogFlippingByAxis::PointChanged);

View File

@ -874,7 +874,6 @@ void DialogTool::FillCombo(QComboBox *box, GOType gType, FillComboBox rule, cons
} }
} }
FillList(box, list); FillList(box, list);
box->setCurrentIndex(-1);
box->blockSignals(false); box->blockSignals(false);
} }