Kaydet (Commit) 51eb767e authored tarafından Katarina Behrens's avatar Katarina Behrens Kaydeden (comit) Thorsten Behrens

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/43823Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
üst 9a9cfb1d
...@@ -293,7 +293,10 @@ IMPL_LINK_NOARG(PrinterSetupDialog, ImplPropertiesHdl, Button*, void) ...@@ -293,7 +293,10 @@ IMPL_LINK_NOARG(PrinterSetupDialog, ImplPropertiesHdl, Button*, void)
{ {
if ( !mpTempPrinter ) if ( !mpTempPrinter )
mpTempPrinter = VclPtr<Printer>::Create( mpPrinter->GetJobSetup() ); 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 );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment