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 8f0e606 commit 40f39d51b0779537d6269b399e1dad81b6f6af01
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 40f39d5

Please sign in to comment.