Skip to content

Commit

Permalink
Add expanded 0/1 to Layer info in GetProjectSettings response
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Mar 27, 2020
1 parent 73314b5 commit f6eb7a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/services/wms/qgswmsgetcapabilities.cpp
Expand Up @@ -891,6 +891,7 @@ namespace QgsWms
if ( projectSettings )
{
layerElem.setAttribute( QStringLiteral( "visible" ), treeNode->isVisible() );
layerElem.setAttribute( QStringLiteral( "expanded" ), treeNode->isExpanded() );
}

if ( treeNode->nodeType() == QgsLayerTreeNode::NodeGroup )
Expand Down

0 comments on commit f6eb7a6

Please sign in to comment.