Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix restoring visibility of layers in embedded groups
  • Loading branch information
3nids committed May 13, 2019
1 parent 4ba8974 commit 7fa95e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsproject.cpp
Expand Up @@ -2336,7 +2336,7 @@ QgsLayerTreeGroup *QgsProject::createEmbeddedGroup( const QString &groupName, co
if ( layer )
{
layer->resolveReferences( this );
layer->setItemVisibilityChecked( invisibleLayers.contains( layerId ) );
layer->setItemVisibilityChecked( !invisibleLayers.contains( layerId ) );
}
}

Expand Down

0 comments on commit 7fa95e7

Please sign in to comment.