Skip to content

Commit

Permalink
Rule-based renderer fully recover "empty filter matches all"
Browse files Browse the repository at this point in the history
Fix #13218
  • Loading branch information
m-kuhn committed Aug 28, 2015
1 parent 2447915 commit 978265c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/symbology-ng/qgsrulebasedrendererv2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,8 @@ bool QgsRuleBasedRendererV2::Rule::startRender( QgsRenderContext& context, const
filter = QString( "(%1) AND (%2)" ).arg( mFilterExp ).arg( sf );
else if ( mFilterExp.trimmed().length() )
filter = mFilterExp;
else if ( !sf.length() )
filter = "TRUE";
else
filter = sf;

Expand Down

0 comments on commit 978265c

Please sign in to comment.