Skip to content

Commit

Permalink
[BUFIX][Server] Regression in GetPrint GRID parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Jan 20, 2017
1 parent e23a3d0 commit f4aa1e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/qgswmsconfigparser.cpp
Expand Up @@ -209,6 +209,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
Expand Down

0 comments on commit f4aa1e0

Please sign in to comment.