Skip to content

Commit dbf795e

Browse files
nyalldawsongau
authored and
gau
committedApr 8, 2013
Fix labels not updating for atlas prints when blend mode is applied
1 parent 89e7e7c commit dbf795e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/core/composer/qgscomposerlabel.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ void QgsComposerLabel::setExpressionContext( QgsFeature* feature, QgsVectorLayer
124124
mExpressionFeature = feature;
125125
mExpressionLayer = layer;
126126
mSubstitutions = substitutions;
127+
// Force label to redraw -- fixes label printing for labels with blend modes when used with atlas
128+
update();
127129
}
128130

129131
QString QgsComposerLabel::displayText() const

0 commit comments

Comments
 (0)
Please sign in to comment.