Skip to content
Permalink
Browse files
no selection squares in print mode
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13207 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Mar 31, 2010
1 parent 96c62c9 commit c9cfffa2920624cc0396cbc0f115a139c653cbc6
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/composer/qgscomposermap.cpp
@@ -1459,7 +1459,10 @@ void QgsComposerMap::drawCanvasItem( QGraphicsItem* item, QPainter* painter, con

painter->scale( scaleFactor, scaleFactor );

//a little trick to let the item know that the paint request comes from the composer
item->setData( 0, "composer" );
item->paint( painter, itemStyle, 0 );
item->setData( 0, "" );
painter->restore();
}

0 comments on commit c9cfffa

Please sign in to comment.