Skip to content
Permalink
Browse files

Fix potential crash in mesh renderer vector settings widget

  • Loading branch information
nyalldawson authored and nirvn committed Apr 27, 2021
1 parent adbe5d7 commit 31e8ddbfa37175914dac5795c6da2877df9b955e
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 31e8ddb

Please sign in to comment.