| commit | fd1a4fddad5932c514199de0f8a7b5a2f82ce437 | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Thu May 07 11:06:51 2020 +0100 |
| committer | Caolán McNamara <caolanm@redhat.com> | Thu May 07 15:20:43 2020 +0200 |
| tree | b20748050858676c9664c158a7b469adfcb79e40 | |
| parent | 1742ac5b784922032fb9aae5e61909bd9ab3c578 [diff] |
tdf#132477 don't leave removed row highlighted so that an attempt is made to unhighlight it in dnd post-processing Change-Id: I23fdf407d53c22a6bfd697e5e23c450f009c67b5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93629 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index 87ae08c..44ce6c1 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx
@@ -1092,6 +1092,9 @@ sal_Int8 SwContentTree::ExecuteDrop(const ExecuteDropEvent& rEvt) nTargetPos = GetWrtShell()->getIDocumentOutlineNodesAccess()->getOutlineNodesCount() - 1; } // remove the drop highlight before we change the contents of the tree so we don't // try and dereference a removed entry in post-processing drop m_xTreeView->unset_drag_dest_row(); MoveOutline(nTargetPos); }