Skip to content
Permalink
Browse files

Merge pull request #1666 from elpaso/bugfix11510

Fix #11510 graduated renderer causes crash
  • Loading branch information
NathanW2 committed Oct 28, 2014
2 parents c6d37c1 + efc7921 commit d9ed1752b52c8102bb84893e04c7b96245ff4dad
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
@@ -965,7 +965,7 @@ QList<double> QgsGraduatedSymbolRendererV2::getDataValues( QgsVectorLayer *vlaye
else
lst = expression->referencedColumns();

QgsFeatureIterator fit = vlayer->getFeatures( QgsFeatureRequest().setFlags( QgsFeatureRequest::NoGeometry ).setSubsetOfAttributes( lst, vlayer->pendingFields() ) );
QgsFeatureIterator fit = vlayer->getFeatures( QgsFeatureRequest().setSubsetOfAttributes( lst, vlayer->pendingFields() ) );

// create list of non-null attribute values
while ( fit.nextFeature( f ) )

0 comments on commit d9ed175

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