Skip to content


Browse files Browse the repository at this point in the history
show field alias when presenting constraint msg
Before, when a field didn't passed the defined constraints
it showed a message in the form of "field name: Constraint defined message".

Now, if if a field alias is defined, the message is in the form of
"field alias: Constraint defined message"

See #15455
  • Loading branch information
tudorbarascu authored and m-kuhn committed Jan 11, 2017
1 parent 6214d4d commit dbefbfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsattributeform.cpp
Expand Up @@ -818,7 +818,7 @@ bool QgsAttributeForm::currentFormValidConstraints( QStringList &invalidFields,
if ( ! eww->isValidConstraint() )
invalidFields.append( eww->field().name() );
invalidFields.append( eww->field().displayName() );

descriptions.append( eww->constraintFailureReason() );

Expand Down

0 comments on commit dbefbfe

Please sign in to comment.