summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2018-05-03 21:09:47 -0800
committerHeiko Tietze <tietze.heiko@gmail.com>2018-06-05 11:07:06 +0200
commit64a33050bf427927fa0b81e1e10cc487065c7d2f (patch)
treee1318e78a4c72a95fdad5729d8890dc18d5de7fe
parent999c9cd13c5c0d17569ce58a14b7047cf379eb7e (diff)
tdf#98094 make header able to drag in Navigator root content view after
...first drag is done from all categories content view Change-Id: If76b8fa02a60009e2b60b2b57bae6e0519bf8e2d Reviewed-on: https://gerrit.libreoffice.org/53832 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com> (cherry picked from commit 0cde287d450700f05a547ce5a334ca137e7ff531) Reviewed-on: https://gerrit.libreoffice.org/55309
-rw-r--r--sw/source/uibase/utlui/content.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index e9f0880f7fe3..cc554dbd6ea1 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -1972,6 +1972,9 @@ void SwContentTree::ToggleToRoot()
if (m_nRootType == ContentTypeId::OUTLINE)
{
SetSelectionMode(SelectionMode::Multiple);
+ SetDragDropMode(DragDropMode::CTRL_MOVE |
+ DragDropMode::CTRL_COPY |
+ DragDropMode::ENABLE_TOP);
}
}
}