sw/source/ui/misc/glossary.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 176891d895d2c9f8b3cf46e72d9a0d0e523e2ac4 Author: Andras Timar <andras.ti...@collabora.com> AuthorDate: Thu Apr 4 23:04:44 2019 +0200 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Fri Apr 5 08:30:20 2019 +0200 respect read-only config item: AutoFunction/Text/ShowToolTip Change-Id: Ib808e35d3cc3c2895993193ac6ed05d556c1857d Reviewed-on: https://gerrit.libreoffice.org/70278 Reviewed-by: Andras Timar <andras.ti...@collabora.com> Tested-by: Andras Timar <andras.ti...@collabora.com> diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx index a0d95507feef..bd50bbccad81 100644 --- a/sw/source/ui/misc/glossary.cxx +++ b/sw/source/ui/misc/glossary.cxx @@ -72,6 +72,8 @@ #include <strings.hrc> +#include <officecfg/Office/Writer.hxx> + using namespace ::com::sun::star; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::uno; @@ -768,6 +770,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 libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits