Skip to content

Commit

Permalink
fix restoring visibility of layers in embedded groups
Browse files Browse the repository at this point in the history
  • 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
Original file line number Diff line number Diff line change
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.