Skip to content

Commit

Permalink
Allow long/bigint columns to be used for graduated symbology (#4593)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 5, 2013
1 parent 7c0746b commit b4aaa19
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 b4aaa19

Please sign in to comment.