Skip to content

Commit cc9f7af

Browse files
committedJan 29, 2018
[layouts] Don't force open item properties when undoing/redoing
1 parent 4440c09 commit cc9f7af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/app/layout/qgslayoutappmenuprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ QMenu *QgsLayoutAppMenuProvider::createContextMenu( QWidget *parent, QgsLayout *
112112
QAction *pagePropertiesAction = new QAction( tr( "Page Properties…" ), menu );
113113
connect( pagePropertiesAction, &QAction::triggered, this, [this, page]()
114114
{
115-
mDesigner->showItemOptions( page );
115+
mDesigner->showItemOptions( page, true );
116116
} );
117117
menu->addAction( pagePropertiesAction );
118118
QAction *removePageAction = new QAction( tr( "Remove Page" ), menu );

‎src/app/layout/qgslayoutdesignerdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1456,7 +1456,7 @@ void QgsLayoutDesignerDialog::undoRedoOccurredForItems( const QSet<QString> item
14561456
mBlockItemOptions = false;
14571457

14581458
if ( focusItem )
1459-
showItemOptions( focusItem );
1459+
showItemOptions( focusItem, false );
14601460
}
14611461

14621462
void QgsLayoutDesignerDialog::saveAsTemplate()

0 commit comments

Comments
 (0)
Please sign in to comment.