Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
0 additions
and
1 deletion .
+0
−1
src/app/qgsattributesformproperties.cpp
@@ -90,7 +90,6 @@ void QgsAttributesFormProperties::loadAttributeTypeDialog()
mAttributeTypeDialog ->setUnique ( cfg.mConstraints & QgsFieldConstraints::ConstraintUnique );
mAttributeTypeDialog ->setUniqueEnforced ( cfg.mConstraintStrength .value ( QgsFieldConstraints::ConstraintUnique, QgsFieldConstraints::ConstraintStrengthHard ) == QgsFieldConstraints::ConstraintStrengthHard );
// confustion (will be removed): when we make this, the contraint stuff is allways reloaded from layer when we only change the widged-selection... : QgsFieldConstraints constraints = mLayer->fields().at( index ).constraints();
QgsFieldConstraints constraints = cfg.mFieldConstraints ;
QgsFieldConstraints::Constraints providerConstraints = 0 ;
if ( constraints.constraintOrigin ( QgsFieldConstraints::ConstraintNotNull ) == QgsFieldConstraints::ConstraintOriginProvider )
Toggle all file notes
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.