Skip to content

Commit aeef5a8

Browse files
committedOct 17, 2013
Don't draw mouse handles in composition outputs (fix #8879)
1 parent 2b8197f commit aeef5a8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎src/core/composer/qgscomposermousehandles.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ void QgsComposerMouseHandles::paint( QPainter* painter, const QStyleOptionGraphi
5252
Q_UNUSED( itemStyle );
5353
Q_UNUSED( pWidget );
5454

55+
if ( mComposition->plotStyle() != QgsComposition::Preview )
56+
{
57+
//don't draw selection handles in composition outputs
58+
return;
59+
}
60+
5561
//draw resize handles around bounds of entire selection
5662
double rectHandlerSize = rectHandlerBorderTolerance();
5763
drawHandles( painter, rectHandlerSize );

0 commit comments

Comments
 (0)
Please sign in to comment.