Skip to content

Commit

Permalink
fix for bug #172 'Labels appear as default'
Browse files Browse the repository at this point in the history
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 7272974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgslabel.cpp
Original file line number Diff line number Diff line change
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 7272974

Please sign in to comment.