summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2020-12-10 17:25:10 +0100
committerVasily Melenchuk <vasily.melenchuk@cib.de>2020-12-11 09:16:23 +0100
commit71e285e6cab8427af04758325ed43624ad0ab792 (patch)
treec552d1281fedb216d4511b5d81d9c33cb657a239
parent602eef5e30082ba1244cc1a0f75b75c770f8a77e (diff)
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@cib.de> Reviewed-by: Vasily Melenchuk <vasily.melenchuk@cib.de>
-rw-r--r--vcl/source/window/printdlg.cxx3
1 files changed, 2 insertions, 1 deletions
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())