Skip to content
Permalink
Browse files

Fix crash if selecting a nonsense subrenderer for displacement renderer

(cherry-picked from 6bfdafe)
  • Loading branch information
nyalldawson committed Nov 18, 2015
1 parent 1dca76e commit 14d47ab91af8ff86f9dacc576c552459239b1296
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/symbology-ng/qgspointdisplacementrendererwidget.cpp
@@ -88,7 +88,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 14d47ab

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