Skip to content
Permalink
Browse files
Fix crash when first activating grouped rendering
  • Loading branch information
nyalldawson committed Nov 25, 2021
1 parent 711a363 commit 780db4eb0ac85713653a38c9bdb703d30d6bf696
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgslayertreegrouppropertieswidget.cpp
@@ -33,6 +33,9 @@ QgsLayerTreeGroupPropertiesWidget::QgsLayerTreeGroupPropertiesWidget( QgsMapCanv
{
setupUi( this );

mPaintEffect.reset( QgsPaintEffectRegistry::defaultStack() );
mPaintEffect->setEnabled( false );

connect( mOpacityWidget, &QgsOpacityWidget::opacityChanged, this, &QgsLayerTreeGroupPropertiesWidget::onLayerPropertyChanged );
connect( mBlendModeComboBox, qOverload< int >( &QgsBlendModeComboBox::currentIndexChanged ), this, &QgsLayerTreeGroupPropertiesWidget::onLayerPropertyChanged );
connect( mEffectWidget, &QgsEffectStackCompactWidget::changed, this, &QgsLayerTreeGroupPropertiesWidget::onLayerPropertyChanged );

0 comments on commit 780db4e

Please sign in to comment.