sc/source/ui/app/inputwin.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit 86579c2f816e8b77c75c17f25bda47a2312f23da 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 09:12:35 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> diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index 9ee7648a7a3c..9f35d615039a 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;