Skip to content

Commit

Permalink
fix graduated renderer crash (followup 6de53e5)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Oct 31, 2014
1 parent f097080 commit d99d2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() ) );
Expand Down

0 comments on commit d99d2fd

Please sign in to comment.