Added help text for @current_feature

This commit is contained in:
Alessandro Pasotti 2018-05-16 08:20:10 +02:00
parent 4033cc2ebd
commit b2fb029c26

View File

@ -782,6 +782,7 @@ void QgsExpression::initVariableHelp()
//form context variable
sVariableHelpTexts.insert( QStringLiteral( "current_geometry" ), QCoreApplication::translate( "current_geometry", "Represents the geometry of the feature currently being edited in the form or the table row. Can be used for in a form/row context to filter the related features." ) );
sVariableHelpTexts.insert( QStringLiteral( "current_feature" ), QCoreApplication::translate( "current_feature", "Represents the feature currently being edited in the form or the table row. Can be used for in a form/row context to filter the related features." ) );
}
QString QgsExpression::variableHelpText( const QString &variableName )