Skip to content

Commit

Permalink
Fixed rendering of multipart labels from previous commit
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/branches/symbology-ng-branch@11315 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Aug 9, 2009
1 parent 6e6a970 commit fba9efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/labeling/pallabeling.cpp
Expand Up @@ -557,7 +557,7 @@ void PalLabeling::drawLabel( pal::LabelPosition* label, QPainter* painter, const
painter->drawText((0,0, txt);*/

QPainterPath path;
path.addText(0,0, lyr.textFont, text);
path.addText(0,0, lyr.textFont, txt);
painter->setPen( Qt::NoPen );
painter->setBrush( lyr.textColor );
painter->drawPath(path);
Expand Down

0 comments on commit fba9efc

Please sign in to comment.