Skip to content
Permalink
Browse files

Better fix

  • Loading branch information
DelazJ authored and wonder-sk committed Apr 27, 2020
1 parent 36ee4e5 commit 6f86c4bb5a53ca25b2e495b350a39fc54093a730
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/3d/qgsmeshlayer3drendererwidget.cpp
@@ -37,7 +37,6 @@ QgsMeshLayer3DRendererWidget::QgsMeshLayer3DRendererWidget( QgsMeshLayer *layer,
mWidgetMesh = new QgsMesh3dSymbolWidget( layer, this );
mWidgetMesh->configureForDataset();
layout->addWidget( mWidgetMesh );
mWidgetMesh->setEnabled( false );

connect( mChkEnabled, &QCheckBox::clicked, this, &QgsMeshLayer3DRendererWidget::onEnabledClicked );
connect( mWidgetMesh, &QgsMesh3dSymbolWidget::changed, this, &QgsMeshLayer3DRendererWidget::widgetChanged );
@@ -58,6 +57,7 @@ void QgsMeshLayer3DRendererWidget::setLayer( QgsMeshLayer *layer )
else
{
setRenderer( nullptr );
mWidgetMesh->setEnabled( false );
}
}

0 comments on commit 6f86c4b

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