Skip to content
Permalink
Browse files
Applied patch from #1962
git-svn-id: http://svn.osgeo.org/qgis/trunk@11740 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Oct 1, 2009
1 parent b349680 commit 77c03ad44811e5b2502666fad411cb3fa6a015cc
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/app/qgscontinuouscolordialog.cpp
  2. +1 −1 src/app/qgsgraduatedsymboldialog.cpp
@@ -45,7 +45,7 @@ QgsContinuousColorDialog::QgsContinuousColorDialog( QgsVectorLayer * layer )
for ( QgsFieldMap::const_iterator it = fields.begin(); it != fields.end(); ++it )
{
QVariant::Type type = it->type();
if ( type == QVariant::Int || type == QVariant::Double )
if ( type == QVariant::Int || type == QVariant::Double || type == QVariant::LongLong )
{
displayName = mVectorLayer->attributeDisplayName( it.key() );
classificationComboBox->addItem( displayName, it.key() );
@@ -44,7 +44,7 @@ QgsGraduatedSymbolDialog::QgsGraduatedSymbolDialog( QgsVectorLayer * layer ): QD
for ( QgsFieldMap::const_iterator it = fields.begin(); it != fields.end(); ++it )
{
QVariant::Type type = ( *it ).type();
if ( type == QVariant::Int || type == QVariant::Double )
if ( type == QVariant::Int || type == QVariant::Double || type == QVariant::LongLong )
{
displayName = layer->attributeDisplayName( it.key() );
classificationComboBox->addItem( displayName );

0 comments on commit 77c03ad

Please sign in to comment.