Skip to content

Commit

Permalink
Rule-based labeling: Fix issue with filters not working
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Sep 24, 2015
1 parent d20ff23 commit ee6a7d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/qgsrulebasedlabeling.cpp
Expand Up @@ -229,7 +229,10 @@ void QgsRuleBasedLabeling::Rule::prepare( const QgsRenderContext& context, QStri
}

if ( mFilter )
{
attributeNames << mFilter->referencedColumns();
mFilter->prepare( &context.expressionContext() );
}

// call recursively
Q_FOREACH ( Rule* rule, mChildren )
Expand Down

0 comments on commit ee6a7d0

Please sign in to comment.