summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-07-12 16:36:00 +0200
committerEike Rathke <erack@redhat.com>2018-07-12 16:37:06 +0200
commit446f9cf176038881af166e46489bb1880b22174d (patch)
treef9ae7dee61a19f005988f0bbd49052419bf3d5e1
parent46855d3a98b515f334c447707c533025cfe98a48 (diff)
SvTreeListBox::DoubleClickHdl: SwContentTree more, tdf#115950 related
Change-Id: I86b5275484754b222698fb8c4540ff66bd6c962a
-rw-r--r--sw/source/uibase/utlui/content.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index c50897b07d2b..8cf3a7991878 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -1571,7 +1571,6 @@ IMPL_LINK_NOARG(SwContentTree, ContentDoubleClickHdl, SvTreeListBox*, bool)
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))
{
@@ -1586,7 +1585,9 @@ IMPL_LINK_NOARG(SwContentTree, ContentDoubleClickHdl, SvTreeListBox*, bool)
GotoContent(pCnt);
if(pCnt->GetParent()->GetType() == ContentTypeId::FRAME)
m_pActiveShell->EnterStdMode();
+ return false; // treelist processing finished
}
+ return true; // signal more to be done, i.e. expand/collapse children
}
return false;
}