Skip to content
Permalink
Browse files

fix #5678 (old labeling does not work with rule-based rendering)

  • Loading branch information
wonder-sk committed May 31, 2012
1 parent 5368468 commit cd97d8235ed153727475f59dbba3f986a211d3d2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorlayer.cpp
@@ -362,7 +362,7 @@ void QgsVectorLayer::drawLabels( QgsRenderContext& rendererContext )
while ( nextFeature( fet ) )
{
if (( mRenderer && mRenderer->willRenderFeature( &fet ) )
|| ( mRendererV2 && mRendererV2->symbolForFeature( fet ) != NULL ) )
|| ( mRendererV2 && mRendererV2->willRenderFeature( fet ) ) )
{
bool sel = mSelectedFeatureIds.contains( fet.id() );
mLabel->renderLabel( rendererContext, fet, sel, 0 );

0 comments on commit cd97d82

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