Skip to content
Permalink
Browse files

Added help text for @current_feature

  • Loading branch information
elpaso committed May 16, 2018
1 parent 4033cc2 commit b2fb029c263b189e089f2aeae0cdc3c44d9eddf0
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/expression/qgsexpression.cpp
@@ -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 )

0 comments on commit b2fb029

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