Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix #1280
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9259 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Sep 5, 2008
1 parent 8e51ef2 commit 9e39589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectordataprovider.cpp
Expand Up @@ -304,7 +304,7 @@ void QgsVectorDataProvider::uniqueValues( int index, QList<QVariant> &values )

while ( getNextFeature( f ) )
{
if ( set.contains( f.attributeMap()[index].toString() ) )
if ( !set.contains( f.attributeMap()[index].toString() ) )
{
values.append( f.attributeMap()[index] );
set.insert( f.attributeMap()[index].toString() );
Expand Down

0 comments on commit 9e39589

Please sign in to comment.