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>
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user