Skip to content

Commit a976ecb

Browse files
committed
Merge pull request #457 from nyalldawson/gradfixes
Allow long/bigint columns to be used for graduated symbology (Fix #4593)
2 parents 7c0746b + b4aaa19 commit a976ecb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/symbology-ng/qgsgraduatedsymbolrendererv2widget.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ void QgsGraduatedSymbolRendererV2Widget::populateColumns()
441441
const QgsFields& flds = mLayer->pendingFields();
442442
for ( int idx = 0; idx < flds.count(); ++idx )
443443
{
444-
if ( flds[idx].type() == QVariant::Double || flds[idx].type() == QVariant::Int )
444+
if ( flds[idx].type() == QVariant::Double || flds[idx].type() == QVariant::Int || flds[idx].type() == QVariant::LongLong)
445445
cboGraduatedColumn->addItem( flds[idx].name() );
446446
}
447447
}

0 commit comments

Comments
 (0)