Skip to content

Commit

Permalink
Fix crash when first activating grouped rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 25, 2021
1 parent 711a363 commit 780db4e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/qgslayertreegrouppropertieswidget.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 780db4e

Please sign in to comment.