[Libreoffice-commits] core.git: sfx2/source
melikeyurtoglu
aysemelikeyurtoglu at gmail.com
Sun May 14 19:23:51 UTC 2017
sfx2/source/dialog/printopt.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 74d8afec9dbd5f13b30327cd95744a87c3492176
Author: melikeyurtoglu <aysemelikeyurtoglu at gmail.com>
Date: Sat May 13 13:36:25 2017 +0300
tdf#58134 Reset Button in Options Dialogues does not Work with all Options
Change-Id: I99ef82f6b82674e67aa10d270361828545864f8b
Signed-off-by: melikeyurtoglu <aysemelikeyurtoglu at gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/37569
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/sfx2/source/dialog/printopt.cxx b/sfx2/source/dialog/printopt.cxx
index 61b2a260cadd..6a57f2622aaf 100644
--- a/sfx2/source/dialog/printopt.cxx
+++ b/sfx2/source/dialog/printopt.cxx
@@ -181,6 +181,9 @@ void SfxCommonPrintOptionsTabPage::Reset( const SfxItemSet* /*rSet*/ )
aPrinterOptions.GetPrinterOptions( maPrinterOptions );
aPrintFileOptions.GetPrinterOptions( maPrintFileOptions );
+ if(m_pPrintFileOutputRB->IsChecked()){
+ m_pPrinterOutputRB->Check();
+ }
ImplUpdateControls( m_pPrinterOutputRB->IsChecked() ? &maPrinterOptions : &maPrintFileOptions );
}
More information about the Libreoffice-commits
mailing list