[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Nov 17 16:12:15 UTC 2020
vcl/source/window/printdlg.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 19d81a0923f0ffb106ae59aaf54659451fe271cc
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Nov 16 10:31:14 2020 +0000
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Tue Nov 17 17:11:42 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/+/105861
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index d0f3c67a6c7f..6d73b1449d6a 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -937,7 +937,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 )
More information about the Libreoffice-commits
mailing list