Skip to content
Permalink
Browse files

Fix layer space if layer title element is removed

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15242 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Feb 22, 2011
1 parent 268e43b commit 5c974961948ee9d9031d71ce4178e8ca4c125012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/composer/qgscomposerlegend.cpp
@@ -200,9 +200,9 @@ void QgsComposerLegend::drawLayerItem( QPainter* p, QgsComposerLayerItem* layerI
}

//Let the user omit the layer title item by having an empty layer title string
currentYCoord += mLayerSpace;
if ( !layerItem->text().isEmpty() )
{
currentYCoord += mLayerSpace;
currentYCoord += fontAscentMillimeters( mLayerFont );

//draw layer Item

0 comments on commit 5c97496

Please sign in to comment.
You can’t perform that action at this time.