Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[layouts] Don't force open item properties when undoing/redoing
  • Loading branch information
nyalldawson committed Jan 29, 2018
1 parent 4440c09 commit cc9f7af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/layout/qgslayoutappmenuprovider.cpp
Expand Up @@ -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 );
Expand Down
2 changes: 1 addition & 1 deletion src/app/layout/qgslayoutdesignerdialog.cpp
Expand Up @@ -1456,7 +1456,7 @@ void QgsLayoutDesignerDialog::undoRedoOccurredForItems( const QSet<QString> item
mBlockItemOptions = false;

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

void QgsLayoutDesignerDialog::saveAsTemplate()
Expand Down

0 comments on commit cc9f7af

Please sign in to comment.