[Libreoffice-commits] core.git: Branch 'distro/cib/libreoffice-6-4' - vcl/source
Samuel Mehrbrodt (via logerrit)
logerrit at kemper.freedesktop.org
Fri Dec 11 08:16:56 UTC 2020
vcl/source/window/printdlg.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 71e285e6cab8427af04758325ed43624ad0ab792
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Thu Dec 10 17:25:10 2020 +0100
Commit: Vasily Melenchuk <vasily.melenchuk at cib.de>
CommitDate: Fri Dec 11 09:16:23 2020 +0100
Fix "single print jobs" function in print dlg
Did not work at all
Change-Id: I388ce579691a1e7ad2eff8420c2f8b6b3e939ef0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107568
Tested-by: Vasily Melenchuk <vasily.melenchuk at cib.de>
Reviewed-by: Vasily Melenchuk <vasily.melenchuk at cib.de>
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 1515b8b74264..6442654c9860 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -82,7 +82,8 @@ IMPL_LINK (MoreOptionsDialog, ClickHdl, weld::Button&, rButton, void)
{
if (&rButton == mxOKButton.get())
{
- mpParent->mbSingleJobs = mxSingleJobsBox->get_active();
+ bool bChecked = mxSingleJobsBox->get_active();
+ mpParent->maPController->setValue("SinglePrintJobs", makeAny(bChecked));
m_xDialog->response(RET_OK);
}
else if (&rButton == mxCancelButton.get())
More information about the Libreoffice-commits
mailing list