Skip to content
Permalink
Browse files
Fix for bug where the first row was not classified in unique value di…
…alog

git-svn-id: http://svn.osgeo.org/qgis/trunk@7234 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Sep 30, 2007
1 parent 864fef8 commit 5f1925f7386c94f2f426c1c09bb0c2742a3fd12d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsuniquevaluedialog.cpp
@@ -123,7 +123,7 @@ void QgsUniqueValueDialog::apply()
if (provider)
{
int fieldIndex = provider->indexFromFieldName(mClassificationComboBox->currentText());
if(fieldIndex > 0)
if(fieldIndex != -1)
{
renderer->setClassificationField(fieldIndex);
mVectorLayer->setRenderer(renderer);

0 comments on commit 5f1925f

Please sign in to comment.