Skip to content
Permalink
Browse files

Fix layer space if layer title element is removed

git-svn-id: http://svn.osgeo.org/qgis/trunk@15242 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Feb 22, 2011
1 parent 25e8e48 commit c59b8e2548535f3eb42e73cd03b4ff14d5a69740
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 c59b8e2

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