diff --git a/src/core/attributeformmodelbase.cpp b/src/core/attributeformmodelbase.cpp index a6526ffd3a..5ad50f4556 100644 --- a/src/core/attributeformmodelbase.cpp +++ b/src/core/attributeformmodelbase.cpp @@ -827,7 +827,7 @@ void AttributeFormModelBase::updateVisibilityAndConstraints( int fieldIndex ) hardValidity = false; break; } - if ( !item->data( AttributeFormModel::ConstraintHardValid ).toBool() ) + if ( !item->data( AttributeFormModel::ConstraintSoftValid ).toBool() ) { softValidity = false; }