Skip to content

Commit

Permalink
Load layers within embedded groups
Browse files Browse the repository at this point in the history
Fix #18380
  • Loading branch information
m-kuhn committed Jun 8, 2018
1 parent e315ed6 commit 96f7426
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgsproject.cpp
Expand Up @@ -2151,6 +2151,7 @@ QgsLayerTreeGroup *QgsProject::createEmbeddedGroup( const QString &groupName, co
QgsLayerTreeLayer *layer = newGroup->findLayer( layerId );
if ( layer )
{
layer->resolveReferences( this );
layer->setItemVisibilityChecked( invisibleLayers.contains( layerId ) );
}
}
Expand Down

0 comments on commit 96f7426

Please sign in to comment.