From 2610e15e9df17bd8a627037d7aeab8be0c8e6121 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 3 Aug 2024 21:53:51 +0100 Subject: [PATCH] unset what's selected when we clear the paper size box MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I47de9bf12fb0e22fce8b0bbb9450b11ee0ad6008 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171450 Reviewed-by: Caolán McNamara Tested-by: Jenkins --- vcl/source/window/printdlg.cxx | 1 + 1 file changed, 1 insertion(+) 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 aPrt( maPController->getPrinter() ); mePaper = aPrt->GetPaper();