Skip to content

Commit

Permalink
[layouts] Refresh layout automatically on page size/orientation change
Browse files Browse the repository at this point in the history
Fixes #21624
  • Loading branch information
nyalldawson committed Mar 21, 2019
1 parent 333696a commit 10c61ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/layout/qgslayoutpagepropertieswidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ void QgsLayoutPagePropertiesWidget::updatePageSize()
mPage->layout()->pageCollection()->endPageSizeChange();
mPage->layout()->undoStack()->endMacro();

refreshLayout();
emit pageOrientationChanged();
}

Expand Down

0 comments on commit 10c61ea

Please sign in to comment.