From 1ae63cb4755610f535ad7a1146b77415adb64939 Mon Sep 17 00:00:00 2001 From: Henry Castro Date: Wed, 23 Feb 2022 14:42:03 -0400 Subject: lok: vcl: introduce set_cursor_data method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Jenkins CollaboraOffice --- sc/source/ui/pagedlg/tphfedit.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sc') diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx index 15cc5242152a..fed870582dcc 100644 --- a/sc/source/ui/pagedlg/tphfedit.cxx +++ b/sc/source/ui/pagedlg/tphfedit.cxx @@ -112,6 +112,8 @@ void ScEditWindow::SetDrawingArea(weld::DrawingArea* pDrawingArea) pAcc->InitAcc(nullptr, m_xEditView.get(), nullptr, sName, pDrawingArea->get_tooltip_text()); } + + SetCursor(m_xEditView->GetCursor()); } ScEditWindow::~ScEditWindow() -- cgit