Skip to content

Commit b4aaa19

Browse files
committed
Allow long/bigint columns to be used for graduated symbology (#4593)
1 parent 7c0746b commit b4aaa19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/symbology-ng/qgsgraduatedsymbolrendererv2widget.cpp

Lines changed: 1 addition & 1 deletion
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)