Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix incorrect layer_id variable help
  • Loading branch information
nyalldawson committed Sep 11, 2015
1 parent 107d911 commit 2d5c5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsexpression.cpp
Expand Up @@ -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." ) );
Expand Down

0 comments on commit 2d5c5e2

Please sign in to comment.