Skip to content

Commit 1e7149e

Browse files
committedOct 6, 2017
Select new items after adding them
1 parent 9ae9624 commit 1e7149e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/gui/layout/qgslayoutviewtooladditem.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ void QgsLayoutViewToolAddItem::layoutReleaseEvent( QgsLayoutViewMouseEvent *even
118118
settings.setValue( QStringLiteral( "LayoutDesigner/lastSizeUnit" ), static_cast< int >( item->sizeWithUnits().units() ) );
119119

120120
layout()->addLayoutItem( item );
121+
layout()->setSelectedItem( item );
121122
}
122123

123124
void QgsLayoutViewToolAddItem::deactivate()

0 commit comments

Comments
 (0)
Please sign in to comment.