Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added help text for @current_feature
  • Loading branch information
elpaso committed May 16, 2018
1 parent 4033cc2 commit b2fb029
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/expression/qgsexpression.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit b2fb029

Please sign in to comment.