Skip to content

Commit cacfbca

Browse files
committedDec 14, 2015
[BUGFIX][QGIS Server] Update Layer order from group in GetPrint
Update commit da5e73e
1 parent b81604c commit cacfbca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/server/qgswmsconfigparser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ QgsComposition* QgsWMSConfigParser::createPrintComposition( const QString& compo
157157

158158
QList<QgsMapLayer*> layerList = mapLayerFromStyle( wmsLayer, styleName, allowCaching );
159159
int listIndex;
160-
for ( listIndex = layerList.size() - 1; listIndex >= 0; listIndex-- )
160+
for ( listIndex = 0; listIndex < layerList.size(); listIndex++ )
161161
{
162162
QgsMapLayer* layer = layerList.at( listIndex );
163163
if ( layer )

0 commit comments

Comments
 (0)
Please sign in to comment.