diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-07-14 12:15:04 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2019-07-15 10:02:52 +0200 |
commit | 825dd44bb6a2093fec875f521f3dfdff6de51ac0 (patch) | |
tree | cd32e180a19230a123c716071a691ef138b71afe /cui/source | |
parent | tdf#123591: Firebird: Fix setting double values (diff) | |
download | core-825dd44bb6a2093fec875f521f3dfdff6de51ac0.tar.gz core-825dd44bb6a2093fec875f521f3dfdff6de51ac0.zip |
Fix welded general option page
* replace the wrong m_xFileDlgFrame with m_xPrintDlgFrame
(some search and replace error, I guess)
* set filedlgframe's visibility to True, so hiding actually works
Change-Id: I5f77f3930096acd885bf8c2fbbf798d6f1b110db
Reviewed-on: https://gerrit.libreoffice.org/75574
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
(cherry picked from commit 1ab2395355d61e705a251c6eb8bdc870cc20e785)
Reviewed-on: https://gerrit.libreoffice.org/75589
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 46bd0996cca1..87138e3df44c 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -280,21 +280,21 @@ OfaMiscTabPage::OfaMiscTabPage(TabPageParent pParent, const SfxItemSet& rSet) { if (!lcl_HasSystemFilePicker()) m_xFileDlgFrame->hide(); + else if (SvtMiscOptions().IsUseSystemFileDialogReadOnly()) + { + m_xFileDlgROImage->show(); + m_xFileDlgCB->set_sensitive(false); + } + #if ! ENABLE_GTK - m_xFileDlgFrame->hide(); + m_xPrintDlgFrame->hide(); #else if (!SvtMiscOptions().IsExperimentalMode()) { - m_xFileDlgFrame->hide(); + m_xPrintDlgFrame->hide(); } #endif - if (m_xFileDlgCB->get_visible() && SvtMiscOptions().IsUseSystemFileDialogReadOnly()) - { - m_xFileDlgROImage->show(); - m_xFileDlgCB->set_sensitive(false); - } - m_xQuickLaunchCB->show(); //Only available in Win or if building the gtk systray |