Skip to content
Permalink
Browse files

Fix crash if selecting a nonsense subrenderer for displacement renderer

  • Loading branch information
nyalldawson committed Sep 20, 2015
1 parent f16fe73 commit 6bfdafe3d36dbcd88343efd583e725f3b4643675
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/symbology-ng/qgspointdisplacementrendererwidget.cpp
@@ -91,7 +91,7 @@ QgsPointDisplacementRendererWidget::QgsPointDisplacementRendererWidget( QgsVecto
QStringList::const_iterator it = rendererList.constBegin();
for ( ; it != rendererList.constEnd(); ++it )
{
if ( *it != "pointDisplacement" )
if ( *it != "pointDisplacement" && *it != "heatmapRenderer" && *it != "invertedPolygonRenderer" )
{
QgsRendererV2AbstractMetadata* m = QgsRendererV2Registry::instance()->rendererMetadata( *it );
mRendererComboBox->addItem( m->icon(), m->visibleName(), *it );

0 comments on commit 6bfdafe

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