Skip to content

Commit

Permalink
Merge pull request #449 from nyalldawson/grad_fixes
Browse files Browse the repository at this point in the history
Fix calculation of graduated symbology breaks (Fix #7256)
  • Loading branch information
NathanW2 committed Mar 1, 2013
2 parents 4baba76 + cc239b2 commit 54f3e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 54f3e0a

Please sign in to comment.