unset what's selected when we clear the paper size box

Change-Id: I47de9bf12fb0e22fce8b0bbb9450b11ee0ad6008
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171450
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
This commit is contained in:
Caolán McNamara 2024-08-03 21:53:51 +01:00
parent 2fbd16ed37
commit 2610e15e9d

View file

@ -843,6 +843,7 @@ void PrintDialog::readFromSettings()
void PrintDialog::setPaperSizes()
{
mxPaperSizeBox->clear();
mxPaperSizeBox->set_active(-1);
VclPtr<Printer> aPrt( maPController->getPrinter() );
mePaper = aPrt->GetPaper();