Skip to content

Commit

Permalink
[BUGFIX][QGIS Server] Update Layer order from group in GetPrint
Browse files Browse the repository at this point in the history
Update commit da5e73e
  • Loading branch information
rldhont committed Dec 14, 2015
1 parent b81604c commit cacfbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgswmsconfigparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ QgsComposition* QgsWMSConfigParser::createPrintComposition( const QString& compo

QList<QgsMapLayer*> layerList = mapLayerFromStyle( wmsLayer, styleName, allowCaching );
int listIndex;
for ( listIndex = layerList.size() - 1; listIndex >= 0; listIndex-- )
for ( listIndex = 0; listIndex < layerList.size(); listIndex++ )
{
QgsMapLayer* layer = layerList.at( listIndex );
if ( layer )
Expand Down

0 comments on commit cacfbca

Please sign in to comment.