Skip to content
Permalink
Browse files

Followup 1c1e771, fix crash

  • Loading branch information
nyalldawson committed Jun 26, 2017
1 parent ecf43d3 commit 005d0fa3da21a73265b18d0e33ded03c4d5710cd
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/core/qgsdiagramrenderer.cpp
  2. +1 −1 src/core/symbology-ng/qgslegendsymbolitem.cpp
@@ -815,7 +815,7 @@ QList< QgsLayerTreeModelLegendNode * > QgsLinearlyInterpolatedDiagramRenderer::l

void QgsLinearlyInterpolatedDiagramRenderer::setDataDefinedSizeLegend( QgsDataDefinedSizeLegend *settings )
{
delete settings;
delete mDataDefinedSizeLegendSettings;
mDataDefinedSizeLegend = settings;
}

@@ -96,7 +96,7 @@ void QgsLegendSymbolItem::setSymbol( QgsSymbol *s )

void QgsLegendSymbolItem::setDataDefinedSizeLegendSettings( QgsDataDefinedSizeLegend *settings )
{
delete settings;
delete mDataDefinedSizeLegendSettings;
mDataDefinedSizeLegendSettings = settings;
}

0 comments on commit 005d0fa

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