summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormelikeyurtoglu <aysemelikeyurtoglu@gmail.com>2017-05-13 13:36:25 +0300
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-14 21:23:13 +0200
commit74d8afec9dbd5f13b30327cd95744a87c3492176 (patch)
treef98466a9fff474a7b5490225dfb725debd566e9f
parentc8139626befdadda16b0fa66fad317cf79949f29 (diff)
tdf#58134 Reset Button in Options Dialogues does not Work with all Options
Change-Id: I99ef82f6b82674e67aa10d270361828545864f8b Signed-off-by: melikeyurtoglu <aysemelikeyurtoglu@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/37569 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--sfx2/source/dialog/printopt.cxx3
1 files changed, 3 insertions, 0 deletions
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 );
}