Skip to content

Commit ec40783

Browse files
authoredJul 8, 2017
Simplify the error message
1 parent 70d2ae2 commit ec40783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/expression/qgsexpressionfunction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@ static QVariant fcnNumSelected( const QVariantList &values, const QgsExpressionC
12781278
layer = QgsExpressionUtils::getVectorLayer( values.at( 0 ), parent );
12791279
else
12801280
{
1281-
parent->setEvalErrorString( QObject::tr( "Function `num_selected` requires no more than one QgsExpressionFunction::Parameter. %1 given." ).arg( values.length() ) );
1281+
parent->setEvalErrorString( QObject::tr( "Function `num_selected` requires no more than one parameter. %1 given." ).arg( values.length() ) );
12821282
return QVariant();
12831283
}
12841284

0 commit comments

Comments
 (0)
Please sign in to comment.