Skip to content
Permalink
Browse files

Update src/gui/layout/qgslayoutviewtoolselect.cpp

Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
rduivenvoorde and nyalldawson committed Mar 31, 2021
1 parent 46d1d23 commit 8d1b4ff1267c7c9ca257874199072bf15849bf80
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/layout/qgslayoutviewtoolselect.cpp
@@ -254,9 +254,9 @@ void QgsLayoutViewToolSelect::layoutReleaseEvent( QgsLayoutViewMouseEvent *event
{
emit itemFocused( selectedItemList.at( 0 ) );
}
else if ( paperItemFocused )
else if ( focusedPaperItem )
{
// do NOT emit nullptr because that will remove the page properties...
emit itemFocused( focusedPaperItem );
}
else
{

0 comments on commit 8d1b4ff

Please sign in to comment.