Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix selection handles showing incorrectly on new compositions
  • Loading branch information
nyalldawson committed Oct 3, 2013
1 parent 4ea85fe commit b9bbe65
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/core/composer/qgscomposition.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit b9bbe65

Please sign in to comment.