Skip to content
Permalink
Browse files

[BUFIX][Server] Regression in GetPrint GRID parameters

  • Loading branch information
rldhont committed Jan 26, 2017
1 parent 637b585 commit 000e97453dfa01e3cbb2e60bbaee16f0ce760a2a
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/server/qgswmsconfigparser.cpp
@@ -180,6 +180,7 @@ QgsComposition* QgsWMSConfigParser::createPrintComposition( const QString& compo
//grid space x / y
currentMap->grid()->setIntervalX( parameterMap.value( mapId + ":GRID_INTERVAL_X" ).toDouble() );
currentMap->grid()->setIntervalY( parameterMap.value( mapId + ":GRID_INTERVAL_Y" ).toDouble() );
currentMap->grid()->setEnabled( currentMap->grid()->intervalX() != 0.0 && currentMap->grid()->intervalY() != 0.0 );
}
//update legend
// if it has an auto-update model

0 comments on commit 000e974

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