| commit | d07acfc4b2cc92d094d8eac204868e26c9e25e27 | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Tue May 24 16:30:00 2022 +0100 |
| committer | Caolán McNamara <caolanm@redhat.com> | Tue May 24 21:03:14 2022 +0200 |
| tree | 1ba195d49d573ee99ba7a3579652664aaa4ea2d6 | |
| parent | b0ba3ed1992b24c8808604553278fe75b093c0a9 [diff] |
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 <caolanm@redhat.com>
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index 2cdf997..817a68d 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);