Skip to content
Permalink
Browse files

Select new items after adding them

  • Loading branch information
nyalldawson committed Oct 6, 2017
1 parent 9ae9624 commit 1e7149e1e368f2654ccf577a1606feac0ad838d9
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/layout/qgslayoutviewtooladditem.cpp
@@ -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()

0 comments on commit 1e7149e

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