mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Don't draw mouse handles in composition outputs (fix #8879)
This commit is contained in:
parent
2b8197f19a
commit
aeef5a8094
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user