mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
fix #1280
git-svn-id: http://svn.osgeo.org/qgis/trunk@9259 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
0a6dbb7112
commit
6fb8d103fd
@ -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() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user