Skip to content
Permalink
Browse files
Fix access to rule settings
  • Loading branch information
Hugo Mercier committed Jun 29, 2018
1 parent 569db8e commit cd39798b4d78477e40be6b49002663eaee97c37f
Showing 1 changed file with 1 addition and 1 deletion.
@@ -499,7 +499,7 @@ void QgsRuleBasedLabeling::toSld( QDomNode &parent, const QgsStringMap &props )
{
QgsPalLayerSettings *settings = rule->settings();

if ( settings->drawLabels )
if ( settings && settings->drawLabels )
{
QDomDocument doc = parent.ownerDocument();

0 comments on commit cd39798

Please sign in to comment.