Skip to content

Commit 768acbc

Browse files
author
mhugent
committed
Fix legend item label problem #2727
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13525 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 69a153e commit 768acbc

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎src/core/composer/qgscomposerlegend.cpp‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,9 @@ void QgsComposerLegend::drawLayerItem( QPainter* p, QgsComposerLayerItem* layerI
207207
}
208208

209209
maxXCoord = std::max( maxXCoord, 2 * mBoxSpace + textWidthMillimeters( mLayerFont, layerItem->text() ) );
210-
211-
//and child items
212-
drawLayerChildItems( p, layerItem, currentYCoord, maxXCoord, opacity );
213210
}
211+
//and child items
212+
drawLayerChildItems( p, layerItem, currentYCoord, maxXCoord, opacity );
214213
}
215214

216215
void QgsComposerLegend::adjustBoxSize()

0 commit comments

Comments
 (0)