Skip to content

Commit 6fb8d10

Browse files
author
jef
committedSep 5, 2008
fix #1280
git-svn-id: http://svn.osgeo.org/qgis/trunk@9259 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 0a6dbb7 commit 6fb8d10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgsvectordataprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ void QgsVectorDataProvider::uniqueValues( int index, QList<QVariant> &values )
304304

305305
while ( getNextFeature( f ) )
306306
{
307-
if ( set.contains( f.attributeMap()[index].toString() ) )
307+
if ( !set.contains( f.attributeMap()[index].toString() ) )
308308
{
309309
values.append( f.attributeMap()[index] );
310310
set.insert( f.attributeMap()[index].toString() );

0 commit comments

Comments
 (0)
Please sign in to comment.