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 cf30ccf commit 576dca4
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 @@ -2381,7 +2381,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 576dca4

Please sign in to comment.