Skip to content
Permalink
Browse files

fix bad guard

  • Loading branch information
vcloarec authored and nyalldawson committed Jun 1, 2020
1 parent 9249dfe commit 4ed5c829db9d747259bc27db0b2677dd77e90d0d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/mesh/qgsmeshstaticdatasetwidget.cpp
@@ -34,7 +34,7 @@ void QgsMeshStaticDatasetWidget::setLayer( QgsMeshLayer *layer )

void QgsMeshStaticDatasetWidget::syncToLayer()
{
if ( !mLayer && !mLayer->dataProvider() )
if ( !mLayer || !mLayer->dataProvider() )
return;

mScalarDatasetGroup = mLayer->rendererSettings().activeScalarDatasetGroup();

0 comments on commit 4ed5c82

Please sign in to comment.
You can’t perform that action at this time.