Init not mandatory columns with Skip option.

This commit is contained in:
Roman Telezhynskyi 2020-11-09 13:15:48 +02:00
parent 08da057697
commit 839547bdd2

View File

@ -579,7 +579,15 @@ void DialogMeasurementsCSVColumns::InitColumnsControls()
else
{
control->blockSignals(false);
control->setCurrentIndex(0);
if (not ColumnMandatory(column))
{
control->setCurrentIndex(control->findData(-1));
}
else
{
control->setCurrentIndex(0);
}
}
};