sc/source/ui/app/inputwin.cxx | 5 +++-- sw/source/uibase/lingu/olmenu.cxx | 12 ++++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-)
New commits: commit 26b62622ae849781ff6bec47298fba56245989bc Author: Rashesh <rashesh.pa...@collabora.com> AuthorDate: Sun May 25 13:11:59 2025 +0530 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Mon May 26 14:02:41 2025 +0200 tdf#166689: sw: only hide "Add To Dictionary" option when using LOKit Change-Id: I49be5595dc2fa01ddb10d4a280448a1449eab04d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185743 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> Tested-by: Julien Nabet <serval2...@yahoo.fr> (cherry picked from commit b7b0cbfafeb9d5b7d49a71cbaea7fd8419be68c5) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185771 Tested-by: Jenkins diff --git a/sw/source/uibase/lingu/olmenu.cxx b/sw/source/uibase/lingu/olmenu.cxx index 101d970c7f99..add3ac04810f 100644 --- a/sw/source/uibase/lingu/olmenu.cxx +++ b/sw/source/uibase/lingu/olmenu.cxx @@ -363,8 +363,16 @@ SwSpellPopup::SwSpellPopup( } sal_uInt16 nDiff = nItemId - MN_DICTIONARIES_START; - m_xPopupMenu->EnableItem(m_nAddMenuId, nDiff > 2); - m_xPopupMenu->EnableItem(m_nAddId, nDiff == 2); + if (comphelper::LibreOfficeKit::isActive()) + { + m_xPopupMenu->EnableItem(m_nAddMenuId, nDiff > 2); + m_xPopupMenu->EnableItem(m_nAddId, nDiff == 2); + } + else + { + m_xPopupMenu->EnableItem(m_nAddMenuId, nDiff > 1); + m_xPopupMenu->EnableItem(m_nAddId, nDiff == 1); + } //ADD NEW LANGUAGE MENU ITEM commit 2167fa8aa5592e04a929cde2cd86a07bad49efde Author: Rashesh <rashesh.pa...@collabora.com> AuthorDate: Sun May 25 14:40:02 2025 +0530 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Mon May 26 14:02:31 2025 +0200 tdf#166674: sc: fix "Name box" remain switched to "Last Used Function List" Change-Id: I68f46ec54c9a2b6cdaa04b27d02f3c01ebd4f2b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185747 Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> (cherry picked from commit 86579c2f816e8b77c75c17f25bda47a2312f23da) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185776 Tested-by: Jenkins diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index 4dc18d8f9e47..79f5f62e202d 100644 --- a/sc/source/ui/app/inputwin.cxx +++ b/sc/source/ui/app/inputwin.cxx @@ -2305,13 +2305,14 @@ void ScPosWnd::SetFormulaMode( bool bSet ) { if ( bSet != bFormulaMode ) { - bFormulaMode = bSet; if ( bSet ) FillFunctions(); else FillRangeNames(); + bFormulaMode = bSet; + HideTip(); } } @@ -2362,7 +2363,7 @@ void ScPosWnd::FillRangeNames(bool initialize) } } - if (aSet == aRangeNames && !initialize) + if (!bFormulaMode && !initialize && aSet == aRangeNames) return; aRangeNames = aSet;