Skip to content

Commit

Permalink
[mesh] Fix a crash when pressing Recalculate button
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Jul 23, 2018
1 parent b58f194 commit b3fb647
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/mesh/qgsrenderermeshpropertieswidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

1 comment on commit b3fb647

@nirvn
Copy link
Contributor

@nirvn nirvn commented on b3fb647 Jul 23, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Please sign in to comment.