Skip to content

Commit

Permalink
Fix incorrect layer_id variable help
Browse files Browse the repository at this point in the history
  • 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
Original file line number Diff line number Diff line change
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.