Skip to content
Permalink
Browse files

Add missing variable help for @layout_page

  • Loading branch information
nyalldawson committed Aug 10, 2016
1 parent 7da8110 commit 2349a85ae405b5cbbecc59cf6af2822936d21afb
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsexpression.cpp
@@ -4712,6 +4712,7 @@ void QgsExpression::initVariableHelp()

//composition variables
gVariableHelpTexts.insert( "layout_numpages", QCoreApplication::translate( "variable_help", "Number of pages in composition." ) );
gVariableHelpTexts.insert( "layout_page", QCoreApplication::translate( "variable_help", "Current page number in composition." ) );
gVariableHelpTexts.insert( "layout_pageheight", QCoreApplication::translate( "variable_help", "Composition page height in mm." ) );
gVariableHelpTexts.insert( "layout_pagewidth", QCoreApplication::translate( "variable_help", "Composition page width in mm." ) );
gVariableHelpTexts.insert( "layout_dpi", QCoreApplication::translate( "variable_help", "Composition resolution (DPI)." ) );

0 comments on commit 2349a85

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