Skip to content
Permalink
Browse files

fix restoring visibility of layers in embedded groups

  • Loading branch information
3nids committed May 13, 2019
1 parent cf30ccf commit 576dca4062000fc0be8121daed859e00e76752a7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsproject.cpp
@@ -2381,7 +2381,7 @@ QgsLayerTreeGroup *QgsProject::createEmbeddedGroup( const QString &groupName, co
if ( layer )
{
layer->resolveReferences( this );
layer->setItemVisibilityChecked( invisibleLayers.contains( layerId ) );
layer->setItemVisibilityChecked( !invisibleLayers.contains( layerId ) );
}
}

0 comments on commit 576dca4

Please sign in to comment.
You can’t perform that action at this time.