vcl/source/window/printdlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit dbbb5569b45ede85af7f2ee53496f28762cbf371 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Nov 16 10:31:14 2020 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Nov 16 13:41:58 2020 +0100 tdf#137898 Page count is not reset to 1 in the print preview dialog Change-Id: Ib7c8695fd3e7156b86f4b4603fbaa5e2319cdc1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105919 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index e137a2f31eb2..d9a7504bae76 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -925,7 +925,7 @@ void PrintDialog::preparePreview( bool i_bMayUseCache ) mnCurPage = nPages-1; if( mnCurPage < 0 ) mnCurPage = 0; - + mxPageEdit->set_text(OUString::number(mnCurPage + 1)); const MapMode aMapMode( MapUnit::Map100thMM ); if( nPages > 0 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits