Skip to content
Permalink
Browse files
Merge pull request #457 from nyalldawson/gradfixes
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 a976ecb32125f9b02b79e4a0c0c05e672b6f4fba
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/symbology-ng/qgsgraduatedsymbolrendererv2widget.cpp
@@ -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() );
}
}

0 comments on commit a976ecb

Please sign in to comment.