Skip to content
Permalink
Browse files

Followup cb5f748, Use QgsExpression::quotedColumnRef

  • Loading branch information
m-kuhn committed Nov 10, 2015
1 parent cb5f748 commit b57d5abe369a26aba5825cc964c3bd87cc8256bc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology-ng/qgsrulebasedrendererv2.cpp
@@ -1214,7 +1214,7 @@ QgsRuleBasedRendererV2* QgsRuleBasedRendererV2::convertFromRenderer( const QgsFe
}
else
{
expression = QString( "\"%1\" = %2" ).arg( categorizedRenderer->classAttribute(), value );
expression = QString( "%1 = %2" ).arg( QgsExpression::quotedColumnRef( categorizedRenderer->classAttribute() ), value );
}
rule->setFilterExpression( expression );

0 comments on commit b57d5ab

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