[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
committed by
Yorik van Havre
parent
900dab83fe
commit
6332cbaa3a
@@ -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