Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 5945a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgslabel.cpp
Expand Up @@ -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();
}
Expand Down

0 comments on commit 5945a32

Please sign in to comment.