diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2017-10-25 12:46:33 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-10-28 03:41:30 +0200 |
commit | 51eb767eaf514ee8106401e364e75533fd6fcb51 (patch) | |
tree | 12ed347b4ca67c7b19f09b08390b372d0897d71f /svtools | |
parent | 9a9cfb1d80cea14abddea3d2e18fedb1549c9293 (diff) |
Related tdf#95694: Enable papersize & orientation listboxes
when called from File > Printer Properties > Properties. Anything
else doesn't make sense, user opens this dialog in order to be able
to edit the settings
Change-Id: I9559829551e6d6144da972757ab98afa5696bbfa
Reviewed-on: https://gerrit.libreoffice.org/43823
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/dialogs/prnsetup.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/svtools/source/dialogs/prnsetup.cxx b/svtools/source/dialogs/prnsetup.cxx index d7a8b06a7900..d3a46048b2dc 100644 --- a/svtools/source/dialogs/prnsetup.cxx +++ b/svtools/source/dialogs/prnsetup.cxx @@ -293,7 +293,10 @@ IMPL_LINK_NOARG(PrinterSetupDialog, ImplPropertiesHdl, Button*, void) { if ( !mpTempPrinter ) mpTempPrinter = VclPtr<Printer>::Create( mpPrinter->GetJobSetup() ); - mpTempPrinter->Setup( this ); + // 2nd argument: whether paper size and orientation from printer settings + // override document settings, iow whether matching listboxes are editable + // (this is a printer setup dialog, so they definitely should be editable) + mpTempPrinter->Setup( this, true ); } |