Skip to content
Permalink
Browse files
Hide invisible annotations in composer too
git-svn-id: http://svn.osgeo.org/qgis/trunk@13192 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Mar 29, 2010
1 parent 0558eae commit 838066b8a7431c37a163b2829b2c008de36dccd6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/composer/qgscomposermap.cpp
@@ -1423,7 +1423,7 @@ void QgsComposerMap::drawCanvasItems( QPainter* painter, const QStyleOptionGraph

void QgsComposerMap::drawCanvasItem( QGraphicsItem* item, QPainter* painter, const QStyleOptionGraphicsItem* itemStyle )
{
if ( !item || !mMapCanvas || !mMapRenderer )
if ( !item || !mMapCanvas || !mMapRenderer || !item->isVisible() )
{
return;
}

0 comments on commit 838066b

Please sign in to comment.