Skip to content
Permalink
Browse files

fix restoring visibility of layers in embedded groups

  • Loading branch information
3nids committed May 13, 2019
1 parent ef6d6d4 commit 41e8dff118ecd15d48f625a2089f4df00edbbbae
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsproject.cpp
@@ -2422,7 +2422,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 41e8dff

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