Init not mandatory columns with Skip option.
This commit is contained in:
parent
08da057697
commit
839547bdd2
|
@ -579,8 +579,16 @@ void DialogMeasurementsCSVColumns::InitColumnsControls()
|
|||
else
|
||||
{
|
||||
control->blockSignals(false);
|
||||
|
||||
if (not ColumnMandatory(column))
|
||||
{
|
||||
control->setCurrentIndex(control->findData(-1));
|
||||
}
|
||||
else
|
||||
{
|
||||
control->setCurrentIndex(0);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
if (m_type == MeasurementsType::Individual)
|
||||
|
|
Loading…
Reference in New Issue
Block a user