Skip to content
Permalink
Browse files

[mesh] Fix a crash when pressing Recalculate button

  • Loading branch information
wonder-sk committed Jul 23, 2018
1 parent b58f194 commit b3fb647edef5ac536d610ad9d36a9a3b8ef34a52
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/mesh/qgsrenderermeshpropertieswidget.cpp
@@ -62,6 +62,9 @@ QgsRendererMeshPropertiesWidget::QgsRendererMeshPropertiesWidget( QgsMeshLayer *
this, &QgsPanelWidget::widgetChanged );
connect( mTriangularMeshSettingsWidget, &QgsMeshRendererMeshSettingsWidget::widgetChanged,
this, &QgsPanelWidget::widgetChanged );

mMeshRendererScalarSettingsWidget->setActiveDataset( mMeshRendererActiveDatasetWidget->activeScalarDataset() );
mMeshRendererVectorSettingsWidget->setActiveDataset( mMeshRendererActiveDatasetWidget->activeVectorDataset() );
}

void QgsRendererMeshPropertiesWidget::apply()

1 comment on commit b3fb647

@nirvn

This comment has been minimized.

Copy link
Contributor

@nirvn nirvn commented on b3fb647 Jul 23, 2018

@wonder-sk , nice, it does fix the crasher.

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