diff options
| author | Eike Rathke <erack@redhat.com> | 2018-07-12 14:29:38 +0200 |
|---|---|---|
| committer | Eike Rathke <erack@redhat.com> | 2018-07-12 14:32:09 +0200 |
| commit | 60c2f6d7f167cc313b33d29531f8c7320903e78d (patch) | |
| tree | 29148ab0128a6f6e4fbfdbc0eab26ae182be5b19 | |
| parent | 0b7ab07611ddaafe25e9e1914a49be2afe68ada9 (diff) | |
SvTreeListBox::DoubleClickHdl: SwContentTree more, tdf#115950 related
Change-Id: Id3d1e070467bdb681919b380c0d2ace78ebd388d
| -rw-r--r-- | sw/source/uibase/utlui/content.cxx | 3 |
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) |
