summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2022-02-23 14:42:03 -0400
committerHenry Castro <hcastro@collabora.com>2022-07-05 17:46:16 +0200
commit49b8b4c2caefa9428d86ee0c6bb78a151e10d292 (patch)
tree57af091a641f83b474db604bb34281a95fe14871 /sc
parent36c6981f81fd929ad355c35bbf69b35c77720efc (diff)
lok: vcl: introduce set_cursor_data method
The ScEditWindow requires to assign a cursor, so the child widget can send cursor invalidation to client side. Change-Id: I429d484a311f217f2419e38d50f8d9a422640221 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130446 Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136832 Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/pagedlg/tphfedit.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx
index acf8333d246d..964b022eb943 100644
--- a/sc/source/ui/pagedlg/tphfedit.cxx
+++ b/sc/source/ui/pagedlg/tphfedit.cxx
@@ -111,6 +111,8 @@ void ScEditWindow::SetDrawingArea(weld::DrawingArea* pDrawingArea)
pAcc->InitAcc(nullptr, m_xEditView.get(), nullptr, nullptr,
sName, pDrawingArea->get_tooltip_text());
+
+ SetCursor(m_xEditView->GetCursor());
}
ScEditWindow::~ScEditWindow()