Skip to content
Permalink
Browse files

Fix incorrect layer_id variable help

  • Loading branch information
nyalldawson committed Sep 11, 2015
1 parent 107d911 commit 2d5c5e2aacc52fbc11d12cd6ba273dfa1fcdaa7b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsexpression.cpp
@@ -3215,7 +3215,7 @@ void QgsExpression::initVariableHelp()

//layer variables
gVariableHelpTexts.insert( "layer_name", QCoreApplication::translate( "variable_help", "Name of current layer." ) );
gVariableHelpTexts.insert( "layer_id", QCoreApplication::translate( "variable_help", "ID of current project." ) );
gVariableHelpTexts.insert( "layer_id", QCoreApplication::translate( "variable_help", "ID of current layer." ) );

//composition variables
gVariableHelpTexts.insert( "layout_numpages", QCoreApplication::translate( "variable_help", "Number of pages in composition." ) );

0 comments on commit 2d5c5e2

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