Skip to content
Permalink
Browse files

Fix crash

  • Loading branch information
nyalldawson committed Feb 7, 2017
1 parent d0d9bab commit 9757116a2675e247922c6af8891c2b608045cf3b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsmaprendererjob.cpp
@@ -82,7 +82,7 @@ bool QgsMapRendererJob::prepareLabelCache() const
QgsVectorLayer* vl = const_cast< QgsVectorLayer* >( qobject_cast<const QgsVectorLayer *>( ml ) );
if ( vl && QgsPalLabeling::staticWillUseLayer( vl ) )
labeledLayers << vl;
if ( vl->labeling()->requiresAdvancedEffects( vl ) )
if ( vl && vl->labeling() && vl->labeling()->requiresAdvancedEffects( vl ) )
{
canCache = false;
break;

0 comments on commit 9757116

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