Skip to content

Commit 3383729

Browse files
committed
[BUGFIX][QGIS Server] Update Layer order from group in GetPrint
Update commit da5e73e
1 parent 9731d84 commit 3383729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/qgswmsconfigparser.cpp

+1-1
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)