Skip to content
Permalink
Browse files

[BUFIX][Server] Regression in GetPrint GRID parameters

  • Loading branch information
rldhont committed Jan 20, 2017
1 parent e23a3d0 commit f4aa1e0602f4915d1d2a1d21ea126afc036888d2
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/server/qgswmsconfigparser.cpp
@@ -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

0 comments on commit f4aa1e0

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