Skip to content

Commit

Permalink
name format parameter of uuid expression 'format' instead of 'stringF…
Browse files Browse the repository at this point in the history
…ormat'
  • Loading branch information
signedav authored and nyalldawson committed Oct 24, 2020
1 parent e7e8729 commit ac0c578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/expression/qgsexpressionfunction.cpp
Expand Up @@ -6724,7 +6724,7 @@ const QList<QgsExpressionFunction *> &QgsExpression::Functions()
currentFeatureFunc->setIsStatic( false );
functions << currentFeatureFunc;

QgsStaticExpressionFunction *uuidFunc = new QgsStaticExpressionFunction( QStringLiteral( "uuid" ), QgsExpressionFunction::ParameterList() << QgsExpressionFunction::Parameter( QStringLiteral( "stringFormat" ), true, QStringLiteral( "WithBraces" ) ), fcnUuid, QStringLiteral( "Record and Attributes" ), QString(), false, QSet<QString>(), false, QStringList() << QStringLiteral( "$uuid" ) );
QgsStaticExpressionFunction *uuidFunc = new QgsStaticExpressionFunction( QStringLiteral( "uuid" ), QgsExpressionFunction::ParameterList() << QgsExpressionFunction::Parameter( QStringLiteral( "format" ), true, QStringLiteral( "WithBraces" ) ), fcnUuid, QStringLiteral( "Record and Attributes" ), QString(), false, QSet<QString>(), false, QStringList() << QStringLiteral( "$uuid" ) );
uuidFunc->setIsStatic( false );
functions << uuidFunc;

Expand Down

0 comments on commit ac0c578

Please sign in to comment.