Skip to content
Permalink
Browse files
Fix potential crash in mesh renderer vector settings widget
  • Loading branch information
nyalldawson committed Apr 23, 2021
1 parent ddb9538 commit 74552a5bdb3209eb12c3555202b9b0a987a94071
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 74552a5

Please sign in to comment.