Skip to content

Commit

Permalink
Merge pull request #457 from nyalldawson/gradfixes
Browse files Browse the repository at this point in the history
Allow long/bigint columns to be used for graduated symbology (Fix #4593)
  • Loading branch information
NathanW2 committed Mar 5, 2013
2 parents 7c0746b + b4aaa19 commit a976ecb
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -441,7 +441,7 @@ void QgsGraduatedSymbolRendererV2Widget::populateColumns()
const QgsFields& flds = mLayer->pendingFields();
for ( int idx = 0; idx < flds.count(); ++idx )
{
if ( flds[idx].type() == QVariant::Double || flds[idx].type() == QVariant::Int )
if ( flds[idx].type() == QVariant::Double || flds[idx].type() == QVariant::Int || flds[idx].type() == QVariant::LongLong)
cboGraduatedColumn->addItem( flds[idx].name() );
}
}
Expand Down

0 comments on commit a976ecb

Please sign in to comment.