Skip to content

Commit 9a435ad

Browse files
committedJan 27, 2017
Fix segfault for unitilialized mAssistantPreviewSymbol
1 parent eca795f commit 9a435ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/gui/symbology-ng/qgssymbollayerwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1769,9 +1769,9 @@ QgsSvgMarkerSymbolLayerWidget::QgsSvgMarkerSymbolLayerWidget( const QgsVectorLay
17691769
connect( spinOffsetY, SIGNAL( valueChanged( double ) ), this, SLOT( setOffset() ) );
17701770
connect( this, SIGNAL( changed() ), this, SLOT( updateAssistantSymbol() ) );
17711771

1772-
#if 0
17731772
//make a temporary symbol for the size assistant preview
17741773
mAssistantPreviewSymbol = new QgsMarkerSymbol();
1774+
#if 0
17751775
if ( vectorLayer() )
17761776
mSizeDDBtn->setAssistant( tr( "Size Assistant..." ), new QgsSizeScaleWidget( vectorLayer(), mAssistantPreviewSymbol ) );
17771777
#endif

0 commit comments

Comments
 (0)
Please sign in to comment.