Navigation Menu

Skip to content

Commit

Permalink
ConstraintExpression in tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and nyalldawson committed Apr 3, 2020
1 parent c603ae2 commit 966045f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsfieldmappingmodel.cpp
Expand Up @@ -151,7 +151,7 @@ QVariant QgsFieldMappingModel::data( const QModelIndex &index, int role ) const
{
constraintDescription.push_back( tr( "Not null" ) );
}
if ( constraints.testFlag( QgsFieldConstraints::Constraint::ConstraintNotNull ) )
if ( constraints.testFlag( QgsFieldConstraints::Constraint::ConstraintExpression ) )
{
constraintDescription.push_back( tr( "Expression" ) );
}
Expand Down

0 comments on commit 966045f

Please sign in to comment.