sc/source/ui/app/inputhdl.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 887ed47fbdb05a2cbbef5722859cdd3e7900b73c Author: Gökay Şatır <gokaysa...@gmail.com> AuthorDate: Wed Apr 9 15:21:15 2025 +0300 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Mon Apr 14 13:04:47 2025 +0200 Send show cursor command after registering the view. Issue: * Or the "mpViewShell" pointer in "ShowCursor" function is empty and the notification is not sent to Online side. Change-Id: I42e6d2f914c80fe2bc61483832274357394ef1c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184138 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index a02a5e3df809..e1be37a897d7 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -2854,8 +2854,12 @@ void ScInputHandler::DataChanged( bool bFromTopNotify, bool bSetModified ) if (bUpdateKit) { UpdateActiveView(); + if (pActiveView) + { + pActiveView->ShowCursor(); // Send show cursor command after registering the view. aSel = pActiveView->GetSelection(); + } OUString aText = ScEditUtil::GetMultilineString(*mpEditEngine); pActiveViewSh->libreOfficeKitViewCallback(LOK_CALLBACK_CELL_FORMULA, aText.toUtf8());