summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-04-22 17:00:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-04-22 21:15:08 +0200
commit89515908f14f8f90e6dcb2ffcdcf2eb42e3394e6 (patch)
tree8252dcefe22f39ae433cdf0e242e3e392fa9f738 /svx
parentaf8eaeeb16991eb0b2804d7570521726f4913196 (diff)
ensure cursor drawn on re-gaining focus
Change-Id: I01dc96ccb6dd65d19a96dad0451291aa1106cec2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114515 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/weldeditview.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/dialog/weldeditview.cxx b/svx/source/dialog/weldeditview.cxx
index b558d9f3040e..75b1707591e1 100644
--- a/svx/source/dialog/weldeditview.cxx
+++ b/svx/source/dialog/weldeditview.cxx
@@ -1526,7 +1526,10 @@ void WeldEditView::GetFocus()
{
EditView* pEditView = GetEditView();
if (pEditView)
+ {
pEditView->ShowCursor(false);
+ Invalidate(); // redraw with cursor
+ }
weld::CustomWidgetController::GetFocus();