[Libreoffice-commits] core.git: sw/source
Eike Rathke
erack at redhat.com
Thu Jul 12 12:32:35 UTC 2018
sw/source/uibase/utlui/content.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 60c2f6d7f167cc313b33d29531f8c7320903e78d
Author: Eike Rathke <erack at redhat.com>
Date: Thu Jul 12 14:29:38 2018 +0200
SvTreeListBox::DoubleClickHdl: SwContentTree more, tdf#115950 related
Change-Id: Id3d1e070467bdb681919b380c0d2ace78ebd388d
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index 0dabe3cf9b4b..c50897b07d2b 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -1569,7 +1569,10 @@ IMPL_LINK_NOARG(SwContentTree, ContentDoubleClickHdl, SvTreeListBox*, bool)
if(pEntry)
{
if(lcl_IsContentType(pEntry) && !pEntry->HasChildren())
+ {
RequestingChildren(pEntry);
+ return true; // signal more to be done, i.e. expand children
+ }
else if (!lcl_IsContentType(pEntry) && (State::HIDDEN != m_eState))
{
if (State::CONSTANT == m_eState)
More information about the Libreoffice-commits
mailing list