Skip to content
Permalink
Browse files

Don't draw mouse handles in composition outputs (fix #8879)

  • Loading branch information
nyalldawson committed Oct 17, 2013
1 parent 2b8197f commit aeef5a809499e2a564be401b50f1a5a640c2a30e
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/core/composer/qgscomposermousehandles.cpp
@@ -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 );

0 comments on commit aeef5a8

Please sign in to comment.
You can’t perform that action at this time.