summaryrefslogtreecommitdiff
path: root/sc/source/ui/app/inputhdl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/app/inputhdl.cxx')
-rw-r--r--sc/source/ui/app/inputhdl.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 9ad38d7d321d..77e2342e6955 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -2775,6 +2775,10 @@ void ScInputHandler::DataChanged( bool bFromTopNotify, bool bSetModified )
if (comphelper::LibreOfficeKit::isActive() && pActiveViewSh && pInputWin)
{
+ UpdateActiveView();
+ if (pActiveView)
+ aSel = pActiveView->GetSelection();
+
ScInputHandler::LOKSendFormulabarUpdate(pActiveViewSh,
ScEditUtil::GetMultilineString(*mpEditEngine),
aSel);