diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-11-16 10:31:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-11-16 13:41:58 +0100 |
commit | dbbb5569b45ede85af7f2ee53496f28762cbf371 (patch) | |
tree | 641f466e507356f20e9f9f324237cdfbd130ebdc /vcl | |
parent | a72b0ae16684feb438558686253d9b4701313017 (diff) |
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 <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/printdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) |