Skip to content

Commit ee6a7d0

Browse files
committedSep 24, 2015
Rule-based labeling: Fix issue with filters not working
1 parent d20ff23 commit ee6a7d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/core/qgsrulebasedlabeling.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,10 @@ void QgsRuleBasedLabeling::Rule::prepare( const QgsRenderContext& context, QStri
229229
}
230230

231231
if ( mFilter )
232+
{
233+
attributeNames << mFilter->referencedColumns();
232234
mFilter->prepare( &context.expressionContext() );
235+
}
233236

234237
// call recursively
235238
Q_FOREACH ( Rule* rule, mChildren )

0 commit comments

Comments
 (0)
Please sign in to comment.