Skip to content
Permalink
Browse files

Fix access to rule settings

  • Loading branch information
Hugo Mercier
Hugo Mercier committed Jun 21, 2018
1 parent fd4888b commit 026ddf3db430b016841a477fb81e1369c15eaaa9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsrulebasedlabeling.cpp
@@ -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 026ddf3

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