Skip to content
Permalink
Browse files

Fix selection handles showing incorrectly on new compositions

  • Loading branch information
nyalldawson committed Oct 3, 2013
1 parent 4ea85fe commit b9bbe650dc75e8ec278601c668ffec32ce978f56
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/core/composer/qgscomposition.cpp
@@ -73,10 +73,11 @@ QgsComposition::QgsComposition( QgsMapRenderer* mapRenderer )
setBackgroundBrush( Qt::gray );
addPaperItem();

//add mouse selection handles to composition, and initially hide
mSelectionHandles = new QgsComposerMouseHandles( this );
addItem( mSelectionHandles );
mSelectionHandles->setRect( 30, 30, 100, 100 );
mSelectionHandles->setZValue( 200 );
mSelectionHandles->hide();
mSelectionHandles->setZValue( 500 );

mPrintResolution = 300; //hardcoded default
loadSettings();

0 comments on commit b9bbe65

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