Skip to content

Commit 838066b

Browse files
author
mhugent
committed
Hide invisible annotations in composer too
git-svn-id: http://svn.osgeo.org/qgis/trunk@13192 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 0558eae commit 838066b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/composer/qgscomposermap.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@ void QgsComposerMap::drawCanvasItems( QPainter* painter, const QStyleOptionGraph
14231423

14241424
void QgsComposerMap::drawCanvasItem( QGraphicsItem* item, QPainter* painter, const QStyleOptionGraphicsItem* itemStyle )
14251425
{
1426-
if ( !item || !mMapCanvas || !mMapRenderer )
1426+
if ( !item || !mMapCanvas || !mMapRenderer || !item->isVisible() )
14271427
{
14281428
return;
14291429
}

0 commit comments

Comments
 (0)