Skip to content

Commit

Permalink
Applied patch from #1962
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11740 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Oct 1, 2009
1 parent 288c614 commit 83e2d1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/qgscontinuouscolordialog.cpp
Expand Up @@ -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() );
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsgraduatedsymboldialog.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 83e2d1e

Please sign in to comment.