Skip to content
Permalink
Browse files

[layouts] Don't force open item properties when undoing/redoing

  • Loading branch information
nyalldawson committed Jan 29, 2018
1 parent 4440c09 commit cc9f7af0bf43b7ea8dd03ac0cdc96603f7b37fd5
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/app/layout/qgslayoutappmenuprovider.cpp
  2. +1 −1 src/app/layout/qgslayoutdesignerdialog.cpp
@@ -112,7 +112,7 @@ QMenu *QgsLayoutAppMenuProvider::createContextMenu( QWidget *parent, QgsLayout *
QAction *pagePropertiesAction = new QAction( tr( "Page Properties…" ), menu );
connect( pagePropertiesAction, &QAction::triggered, this, [this, page]()
{
mDesigner->showItemOptions( page );
mDesigner->showItemOptions( page, true );
} );
menu->addAction( pagePropertiesAction );
QAction *removePageAction = new QAction( tr( "Remove Page" ), menu );
@@ -1456,7 +1456,7 @@ void QgsLayoutDesignerDialog::undoRedoOccurredForItems( const QSet<QString> item
mBlockItemOptions = false;

if ( focusItem )
showItemOptions( focusItem );
showItemOptions( focusItem, false );
}

void QgsLayoutDesignerDialog::saveAsTemplate()

0 comments on commit cc9f7af

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