Skip to content

Commit

Permalink
fix #5678 (old labeling does not work with rule-based rendering)
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed May 31, 2012
1 parent 5368468 commit cd97d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayer.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit cd97d82

Please sign in to comment.