Skip to content
Permalink
Browse files
Fix calculation of graduated symbology breaks
  • Loading branch information
nyalldawson committed Mar 1, 2013
1 parent fe898a0 commit cc239b2fa7cbaa29e685bf4fda1b9493a449ce8a
Showing 1 changed file with 1 addition and 1 deletion.
@@ -801,7 +801,7 @@ QgsGraduatedSymbolRendererV2* QgsGraduatedSymbolRendererV2::createRenderer(
QgsAttributeList lst;
lst.append( attrNum );

QgsFeatureIterator fit = vlayer->getFeatures( QgsFeatureRequest().setFlags( QgsFeatureRequest::NoGeometry ).setSubsetOfAttributes( QgsAttributeList() ) );
QgsFeatureIterator fit = vlayer->getFeatures( QgsFeatureRequest().setFlags( QgsFeatureRequest::NoGeometry ).setSubsetOfAttributes( lst ) );
while ( fit.nextFeature( f ) )
values.append( f.attribute( attrNum ).toDouble() );
// calculate the breaks

0 comments on commit cc239b2

Please sign in to comment.