vcl/source/window/printdlg.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 2610e15e9df17bd8a627037d7aeab8be0c8e6121
Author: Caolán McNamara <[email protected]>
AuthorDate: Sat Aug 3 21:53:51 2024 +0100
Commit: Caolán McNamara <[email protected]>
CommitDate: Sun Aug 4 20:03:14 2024 +0200
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 <[email protected]>
Tested-by: Jenkins
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 9e24b7c7d5c6..06b7dc8a385c 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -843,6 +843,7 @@ void PrintDialog::readFromSettings()
void PrintDialog::setPaperSizes()
{
mxPaperSizeBox->clear();
+ mxPaperSizeBox->set_active(-1);
VclPtr<Printer> aPrt( maPController->getPrinter() );
mePaper = aPrt->GetPaper();