[Libreoffice-commits] core.git: svx/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 22 19:15:52 UTC 2021


 svx/source/dialog/weldeditview.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 89515908f14f8f90e6dcb2ffcdcf2eb42e3394e6
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Apr 22 17:00:03 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Apr 22 21:15:08 2021 +0200

    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 at redhat.com>

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();
 


More information about the Libreoffice-commits mailing list