Skip to content
Permalink
Browse files

spelling

  • Loading branch information
signedav committed Oct 27, 2017
1 parent fb0a5ca commit 02d2ba64efbc1f783b793d92a21fcc94ca239299
Showing with 0 additions and 1 deletion.
  1. +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 )

0 comments on commit 02d2ba6

Please sign in to comment.
You can’t perform that action at this time.