sc/source/ui/app/inputwin.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit d07acfc4b2cc92d094d8eac204868e26c9e25e27 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue May 24 16:30:00 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue May 24 21:03:14 2022 +0200 tdf#145248 don't start a drag if actively selecting Change-Id: I00565adbb32a6d9109a75548a544e79ba1951650 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134881 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index 2cdf9977671f..817a68dc044f 100644 --- a/sc/source/ui/app/inputwin.cxx +++ b/sc/source/ui/app/inputwin.cxx @@ -1790,7 +1790,8 @@ bool ScTextWnd::Command( const CommandEvent& rCEvt ) bool ScTextWnd::StartDrag() { - if (m_xEditView) + // tdf#145248 don't start a drag if actively selecting + if (m_xEditView && !m_xEditEngine->IsInSelectionMode()) { OUString sSelection = m_xEditView->GetSelected(); m_xHelper->SetData(sSelection);