Skip to content
Permalink
Browse files

Load layers within embedded groups

Fix #18380
  • Loading branch information
m-kuhn committed Jun 8, 2018
1 parent e315ed6 commit 96f7426946b31c54d72bacd19953657d191f54b4
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsproject.cpp
@@ -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 ) );
}
}

0 comments on commit 96f7426

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