Skip to content
Permalink
Browse files
fix for bug #172 'Labels appear as default'
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5562 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jul 6, 2006
1 parent 32fadc3 commit 5945a32e7996af710b981044a178b11955258f6b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgslabel.cpp
@@ -74,7 +74,7 @@ QString QgsLabel::fieldValue ( int attr, QgsFeature *feature )

for ( unsigned int i = 0; i < fields.size(); i++ )
{
if ( fields[i].fieldName().lower().compare(mLabelField[attr]) == 0 )
if ( fields[i].fieldName().compare(mLabelField[attr]) == 0 )
{
return fields[i].fieldValue();
}

0 comments on commit 5945a32

Please sign in to comment.