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 09:23:10 +0200
commit0cde287d450700f05a547ce5a334ca137e7ff531 (patch)
treeeaf6a05bb4dcd55d37ea570493f1034f55283481
parent2d330a5c48fd200db10fba7c40688221185c2dec (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>
-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);
}
}
}