Skip to content

Commit 5f1925f

Browse files
author
mhugent
committedSep 30, 2007
Fix for bug where the first row was not classified in unique value dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@7234 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 864fef8 commit 5f1925f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgsuniquevaluedialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ void QgsUniqueValueDialog::apply()
123123
if (provider)
124124
{
125125
int fieldIndex = provider->indexFromFieldName(mClassificationComboBox->currentText());
126-
if(fieldIndex > 0)
126+
if(fieldIndex != -1)
127127
{
128128
renderer->setClassificationField(fieldIndex);
129129
mVectorLayer->setRenderer(renderer);

0 commit comments

Comments
 (0)
Please sign in to comment.