Skip to content

Commit

Permalink
Fix crash when opening symbology properties of a layer set to
Browse files Browse the repository at this point in the history
embedded renderer which is not compatible with embedded renderers

Fixes #45159
  • Loading branch information
nyalldawson committed Sep 22, 2021
1 parent 7ec01c0 commit 7a26402
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/symbology/qgsembeddedsymbolrendererwidget.cpp
Expand Up @@ -49,6 +49,7 @@ QgsEmbeddedSymbolRendererWidget::QgsEmbeddedSymbolRendererWidget( QgsVectorLayer
.arg( layer->name() ), this );
this->setLayout( layout );
layout->addWidget( label );
mDefaultSymbolToolButton = nullptr;
return;
}
setupUi( this );
Expand Down

0 comments on commit 7a26402

Please sign in to comment.