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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Oct 8 18:35:42 UTC 2020


 svx/source/dialog/weldeditview.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fc79ca32f08e2478fe827caa26d8f5e90f4d93d0
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Oct 8 17:02:19 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Oct 8 20:34:59 2020 +0200

    don't scroll to the cursor on gaining focus
    
    an alternative option is to set the cursor to the start line when inserting
    text into the multiline calc editview
    
    Change-Id: Id0da81e35bedc282839514bf981a5a6377e1a89c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104095
    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 d9d865b9cf2a..9d79d78c961c 100644
--- a/svx/source/dialog/weldeditview.cxx
+++ b/svx/source/dialog/weldeditview.cxx
@@ -1463,7 +1463,7 @@ bool WeldEditView::DeleteSurroundingText(const Selection& rRange)
 void WeldEditView::GetFocus()
 {
     if (m_xEditView)
-        m_xEditView->ShowCursor();
+        m_xEditView->ShowCursor(false);
 
     weld::CustomWidgetController::GetFocus();
 


More information about the Libreoffice-commits mailing list