Skip to content
Permalink
Browse files
fix for bug #172 'Labels appear as default'
git-svn-id: http://svn.osgeo.org/qgis/trunk@5562 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jul 6, 2006
1 parent 54cd327 commit 7272974e5a3f6792328a2d2de0c72900772d5977
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 7272974

Please sign in to comment.