diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2019-11-12 16:05:54 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2019-11-13 07:27:42 +0100 |
commit | eeae2032476e8c8645ab438fbb379f3151c8e472 (patch) | |
tree | 5743c00be27e46ac036912405ccbc1f79ca9b048 /vcl | |
parent | f166f0cf4f92d1d765d9ae9003d9d725ba120e54 (diff) |
tdf#128717 Sync duplex value from "Properties" dialog
The value for duplex can be set in two places, the main
print dialog and the "Properties" dialog.
Therefore, update the value for duplex combobox in the main
print dialog with the value set in the PrinterController,
to take into account potential changes carried out in the
"Properties" dialog.
(Other options, like orientation already worked fine before,
as did synchronisation the other way around.)
Change-Id: Ie68f1cfbba6def82c85745e1c361e28a1513e647
Reviewed-on: https://gerrit.libreoffice.org/82528
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/printdlg.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index 079ce29ebb6f..7750baf5039d 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -1873,6 +1873,7 @@ IMPL_LINK(PrintDialog, ClickHdl, weld::Button&, rButton, void) } updateOrientationBox( false ); + setupPaperSidesBox(); // tdf#63905 don't use cache: page size may change preparePreview(false); |