Skip to content
Permalink
Browse files
backport #41362
  • Loading branch information
vcloarec authored and nyalldawson committed Apr 29, 2021
1 parent 5fc2345 commit bca1b839b1f7c39731b347a4c0104997fec06f12
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/mesh/qgsmeshlayer.cpp
@@ -63,9 +63,9 @@ QgsMeshLayer::QgsMeshLayer( const QString &meshLayerPath,
ok = setDataProvider( providerKey, providerOptions, flags );
}

setLegend( QgsMapLayerLegend::defaultMeshLegend( this ) );
if ( ok )
{
setLegend( QgsMapLayerLegend::defaultMeshLegend( this ) );
setDefaultRendererSettings( mDatasetGroupStore->datasetGroupIndexes() );

if ( mDataProvider )

0 comments on commit bca1b83

Please sign in to comment.