Skip to content
Permalink
Browse files

Merge pull request #4827 from DelazJ/num_selected

Simplify the error message
  • Loading branch information
nyalldawson committed Jul 9, 2017
2 parents 745da0f + ec40783 commit ad3108780a258771dee877d41f1b1b791d681d29
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/expression/qgsexpressionfunction.cpp
@@ -1306,7 +1306,7 @@ static QVariant fcnNumSelected( const QVariantList &values, const QgsExpressionC
layer = QgsExpressionUtils::getVectorLayer( values.at( 0 ), parent );
else
{
parent->setEvalErrorString( QObject::tr( "Function `num_selected` requires no more than one QgsExpressionFunction::Parameter. %1 given." ).arg( values.length() ) );
parent->setEvalErrorString( QObject::tr( "Function `num_selected` requires no more than one parameter. %1 given." ).arg( values.length() ) );
return QVariant();
}

0 comments on commit ad31087

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