Skip to content
Permalink
Browse files

fix restoring visibility of layers in embedded groups

  • Loading branch information
3nids committed May 13, 2019
1 parent 4ba8974 commit 7fa95e7459228a54e5ef253a9e6cabac2942b355
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsproject.cpp
@@ -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 ) );
}
}

0 comments on commit 7fa95e7

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