Skip to content

Commit

Permalink
Don't draw mouse handles in composition outputs (fix #8879)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 17, 2013
1 parent 2b8197f commit aeef5a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/composer/qgscomposermousehandles.cpp
Expand Up @@ -52,6 +52,12 @@ void QgsComposerMouseHandles::paint( QPainter* painter, const QStyleOptionGraphi
Q_UNUSED( itemStyle );
Q_UNUSED( pWidget );

if ( mComposition->plotStyle() != QgsComposition::Preview )
{
//don't draw selection handles in composition outputs
return;
}

//draw resize handles around bounds of entire selection
double rectHandlerSize = rectHandlerBorderTolerance();
drawHandles( painter, rectHandlerSize );
Expand Down

0 comments on commit aeef5a8

Please sign in to comment.