Skip to content
Permalink
Browse files
Hide invisible annotations in composer too
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13192 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Mar 29, 2010
1 parent dc2bc75 commit b1ef4963cdd6cdc6af6190bd1b9d12e71110a245
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 b1ef496

Please sign in to comment.