sw/source/ui/misc/glossary.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 5d0700bd3afef6d39b63fe813aaa0ac856ff5785 Author: Andras Timar <[email protected]> AuthorDate: Thu Apr 4 23:04:44 2019 +0200 Commit: Andras Timar <[email protected]> CommitDate: Fri Apr 5 08:28:50 2019 +0200 respect read-only config item: AutoFunction/Text/ShowToolTip Change-Id: Ib808e35d3cc3c2895993193ac6ed05d556c1857d Reviewed-on: https://gerrit.libreoffice.org/70275 Tested-by: Jenkins Reviewed-by: Andras Timar <[email protected]> diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx index cd3853f38f64..ce5dee06b6ff 100644 --- a/sw/source/ui/misc/glossary.cxx +++ b/sw/source/ui/misc/glossary.cxx @@ -73,6 +73,8 @@ #include <strings.hrc> #include <iodetect.hxx> +#include <officecfg/Office/Writer.hxx> + using namespace ::com::sun::star; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::uno; @@ -770,6 +772,7 @@ void SwGlossaryDlg::Init() m_pNetRelCB->Check( rCfg.IsSaveRelNet() ); m_pNetRelCB->SetClickHdl(LINK(this, SwGlossaryDlg, CheckBoxHdl)); m_pInsertTipCB->Check( rCfg.IsAutoTextTip() ); + m_pInsertTipCB->Enable(!officecfg::Office::Writer::AutoFunction::Text::ShowToolTip::isReadOnly()); m_pInsertTipCB->SetClickHdl(LINK(this, SwGlossaryDlg, CheckBoxHdl)); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
