Skip to content

Commit

Permalink
add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
speillet authored and github-actions[bot] committed Jul 31, 2021
1 parent 9b646f4 commit e98295b
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 e98295b

Please sign in to comment.