Skip to content
Permalink
Browse files

fix graduated renderer crash (followup 6de53e5)

  • Loading branch information
jef-n committed Oct 31, 2014
1 parent f097080 commit d99d2fd97ce026a9db0145e37de87182c8eed501
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
@@ -966,7 +966,7 @@ QList<double> QgsGraduatedSymbolRendererV2::getDataValues( QgsVectorLayer *vlaye
lst = expression->referencedColumns();

QgsFeatureIterator fit = vlayer->getFeatures( QgsFeatureRequest()
.setFlags( expression->needsGeometry() ?
.setFlags( ( !expression.isNull() && expression->needsGeometry() ) ?
QgsFeatureRequest::NoFlags :
QgsFeatureRequest::NoGeometry )
.setSubsetOfAttributes( lst, vlayer->pendingFields() ) );

0 comments on commit d99d2fd

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