Skip to content

Commit

Permalink
Hide invisible annotations in composer too
Browse files Browse the repository at this point in the history
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 b1ef496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposermap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b1ef496

Please sign in to comment.