Skip to content
Permalink
Browse files

Simplify the error message

  • Loading branch information
DelazJ committed Jul 8, 2017
1 parent 70d2ae2 commit ec40783b5a56fcf14b9470ef9da9aa1433e9ae83
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/expression/qgsexpressionfunction.cpp
@@ -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();
}

0 comments on commit ec40783

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