Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Select new items after adding them
  • Loading branch information
nyalldawson committed Oct 6, 2017
1 parent 9ae9624 commit 1e7149e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/layout/qgslayoutviewtooladditem.cpp
Expand Up @@ -118,6 +118,7 @@ void QgsLayoutViewToolAddItem::layoutReleaseEvent( QgsLayoutViewMouseEvent *even
settings.setValue( QStringLiteral( "LayoutDesigner/lastSizeUnit" ), static_cast< int >( item->sizeWithUnits().units() ) );

layout()->addLayoutItem( item );
layout()->setSelectedItem( item );
}

void QgsLayoutViewToolAddItem::deactivate()
Expand Down

0 comments on commit 1e7149e

Please sign in to comment.