summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-07-12 14:29:38 +0200
committerEike Rathke <erack@redhat.com>2018-07-12 14:32:09 +0200
commit60c2f6d7f167cc313b33d29531f8c7320903e78d (patch)
tree29148ab0128a6f6e4fbfdbc0eab26ae182be5b19
parent0b7ab07611ddaafe25e9e1914a49be2afe68ada9 (diff)
SvTreeListBox::DoubleClickHdl: SwContentTree more, tdf#115950 related
Change-Id: Id3d1e070467bdb681919b380c0d2ace78ebd388d
-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 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)