summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-10-08 17:02:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-10-08 20:34:59 +0200
commitfc79ca32f08e2478fe827caa26d8f5e90f4d93d0 (patch)
treeec66370c3aab2c1d2ebda6cbd8cfae07d892676a /svx/source
parent592ad72ae178bc9018354ab37224666293ecbe81 (diff)
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@redhat.com>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/dialog/weldeditview.cxx2
1 files changed, 1 insertions, 1 deletions
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();