mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Simplify the error message
This commit is contained in:
parent
70d2ae292f
commit
ec40783b5a
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user