[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
(cherry picked from commit ada21269aa)
This commit is contained in:
committed by
Max Wilfinger
parent
c90f7d67df
commit
7a7cba5587
@@ -106,7 +106,7 @@ void DlgSettingsFemInOutVtkImp::populateExportLevel() const
|
||||
int index = 0;
|
||||
ui->cb_export_level->clear();
|
||||
for (const auto& val : values) {
|
||||
ui->cb_export_level->addItem(tr(val.c_str()),QString::fromStdString(val));
|
||||
ui->cb_export_level->addItem(tr(val.c_str()), QString::fromStdString(val));
|
||||
if (val == current) {
|
||||
ui->cb_export_level->setCurrentIndex(index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user