svx/source/dialog/weldeditview.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit fc79ca32f08e2478fe827caa26d8f5e90f4d93d0 Author: Caolán McNamara <[email protected]> AuthorDate: Thu Oct 8 17:02:19 2020 +0100 Commit: Caolán McNamara <[email protected]> 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 <[email protected]> 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(); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
