Init not mandatory columns with Skip option.
This commit is contained in:
parent
08da057697
commit
839547bdd2
|
@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user