Skip to content

Commit

Permalink
Simplify the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ committed Jul 8, 2017
1 parent 70d2ae2 commit ec40783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/expression/qgsexpressionfunction.cpp
Expand Up @@ -1278,7 +1278,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();
}

Expand Down

0 comments on commit ec40783

Please sign in to comment.