We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 3ed9a53 commit 36a8177Copy full SHA for 36a8177
src/server/services/wms/qgswmsgetcontext.cpp
@@ -284,11 +284,11 @@ namespace QgsWms
284
// visibility
285
if ( treeLayer->itemVisibilityChecked() )
286
{
287
- layerElem.setAttribute( QStringLiteral( "hidden" ), QStringLiteral( "true" ) );
+ layerElem.setAttribute( QStringLiteral( "hidden" ), QStringLiteral( "false" ) );
288
}
289
else
290
291
- layerElem.setAttribute( QStringLiteral( "hidden" ), QStringLiteral( "false" ) );
+ layerElem.setAttribute( QStringLiteral( "hidden" ), QStringLiteral( "true" ) );
292
293
294
// layer group
0 commit comments