Skip to content
Permalink
Browse files

Fix potential crash in mesh renderer vector settings widget

  • Loading branch information
nyalldawson authored and github-actions committed Apr 23, 2021
1 parent 3e4acec commit 47b0a4ed31401f5c27e79ff886428f5b5fcb3e98
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/mesh/qgsmeshrenderervectorsettingswidget.cpp
@@ -187,7 +187,7 @@ QgsMeshRendererVectorSettings QgsMeshRendererVectorSettingsWidget::settings() co

void QgsMeshRendererVectorSettingsWidget::syncToLayer( )
{
if ( !mMeshLayer && !mMeshLayer->dataProvider() )
if ( !mMeshLayer || !mMeshLayer->dataProvider() )
return;

if ( mActiveDatasetGroup < 0 )

0 comments on commit 47b0a4e

Please sign in to comment.