Skip to content
Permalink
Browse files
Fix crash when using interpolated line symbol layer with non-vector
layer symbols
  • Loading branch information
nyalldawson committed Sep 10, 2021
1 parent 3f3e891 commit e0c5cceeca3c53b945a958269a2449f8d8b44121
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/symbology/qgsinterpolatedlinesymbollayerwidget.cpp
@@ -223,7 +223,7 @@ void QgsInterpolatedLineSymbolLayerWidget::reloadMinMaxWidthFromLayer()
return;
}

if ( !mLayer )
if ( !mLayer || !vectorLayer() )
{
apply();
return;
@@ -287,7 +287,7 @@ void QgsInterpolatedLineSymbolLayerWidget::reloadMinMaxColorFromLayer()
return;
}

if ( !mLayer )
if ( !mLayer || !vectorLayer() )
{
apply();
return;

0 comments on commit e0c5cce

Please sign in to comment.