vcl/source/window/printdlg.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit fdf45b56b0b4402c66ea885b7fe3a8a9bbdfac82 Author: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> AuthorDate: Thu Nov 26 10:52:04 2020 +0100 Commit: Thorsten Behrens <thorsten.behr...@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.behr...@cib.de> Reviewed-by: Thorsten Behrens <thorsten.behr...@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 ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits