From 09ecba5c12038b86d699a9a726c91f177b970fa6 Mon Sep 17 00:00:00 2001 From: Mathieu Pellerin Date: Thu, 7 Sep 2023 14:25:24 +0700 Subject: [PATCH] Fix soft constraint check typo --- src/core/attributeformmodelbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }