[Libreoffice-commits] core.git: Branch 'distro/cib/libreoffice-6-1' - vcl/source
Samuel Mehrbrodt (via logerrit)
logerrit at kemper.freedesktop.org
Mon Nov 30 08:33:42 UTC 2020
vcl/source/window/printdlg.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit fdf45b56b0b4402c66ea885b7fe3a8a9bbdfac82
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Thu Nov 26 10:52:04 2020 +0100
Commit: Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Mon Nov 30 09:33:08 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/+/106666
Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index b59bfc17dfe3..f025918e0b16 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -1672,6 +1672,12 @@ IMPL_LINK( PrintDialog, ClickHdl, Button*, pButton, void )
makeAny( bChecked ) );
preparePreview( true, true );
}
+ else if( pButton == maOptionsPage.mpCollateSingleJobsBox )
+ {
+ bool bChecked = maOptionsPage.mpCollateSingleJobsBox->IsChecked();
+ maPController->setValue( "SinglePrintJobs",
+ makeAny( bChecked ) );
+ }
else if( pButton == maNUpPage.mpBrochureBtn )
{
PropertyValue* pVal = getValueForWindow( pButton );
More information about the Libreoffice-commits
mailing list