Navigation Menu

Skip to content

Commit

Permalink
add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
speillet committed Jun 30, 2021
1 parent e097ed6 commit c07f8f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -806,6 +806,8 @@ namespace QgsWms
QList<QgsMapLayer *> mapLayers;
if ( map->layers().isEmpty() )
{
// in QGIS desktop, all layers has its legend, including invisible layers
// and using maptheme, legend items are automatically filtered
mapLayers = mProject->mapLayers( true ).values();
}
else
Expand Down

0 comments on commit c07f8f8

Please sign in to comment.