diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-07-14 12:15:04 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-07-14 17:40:55 +0200 |
commit | 1ab2395355d61e705a251c6eb8bdc870cc20e785 (patch) | |
tree | c997529f81f297e8dde56e98f4d10d09e5d38aef /cui/source/options/optgdlg.cxx | |
parent | 6d0dd8847aae01767fa53e0c6db5a5e198dd7b49 (diff) |
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>
Diffstat (limited to 'cui/source/options/optgdlg.cxx')
-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 1ff24bd88405..91d3077c15f0 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -281,21 +281,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 |