Skip to content

Commit b9bbe65

Browse files
committedOct 3, 2013
Fix selection handles showing incorrectly on new compositions
1 parent 4ea85fe commit b9bbe65

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎src/core/composer/qgscomposition.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,11 @@ QgsComposition::QgsComposition( QgsMapRenderer* mapRenderer )
7373
setBackgroundBrush( Qt::gray );
7474
addPaperItem();
7575

76+
//add mouse selection handles to composition, and initially hide
7677
mSelectionHandles = new QgsComposerMouseHandles( this );
7778
addItem( mSelectionHandles );
78-
mSelectionHandles->setRect( 30, 30, 100, 100 );
79-
mSelectionHandles->setZValue( 200 );
79+
mSelectionHandles->hide();
80+
mSelectionHandles->setZValue( 500 );
8081

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

0 commit comments

Comments
 (0)
Please sign in to comment.