[Libreoffice-commits] core.git: sw/source
Jim Raykowski
raykowj at gmail.com
Tue Jun 5 07:23:32 UTC 2018
sw/source/uibase/utlui/content.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 0cde287d450700f05a547ce5a334ca137e7ff531
Author: Jim Raykowski <raykowj at gmail.com>
Date: Thu May 3 21:09:47 2018 -0800
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 at libreoffice.org>
Reviewed-by: Heiko Tietze <tietze.heiko at gmail.com>
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);
}
}
}
More information about the Libreoffice-commits
mailing list