diff options
author | Jim Raykowski <raykowj@gmail.com> | 2021-11-12 00:18:07 -0900 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2021-11-14 05:31:32 +0100 |
commit | 4d4278b1403d38b34ff80ca2a92164f40abd9c36 (patch) | |
tree | 27c48fb67f812e01edd80ae13a5cd894cbb9541d | |
parent | 7b8f630db30ee0066a9f4b6e540368d2fcad7fa8 (diff) |
SwNavigator: Fix expanded Headings/Outlines not staying expanded
Fixes expanded Headings/Outlines in the Navigator content tree
collapsing to first level children when a change to the document causes
content tree update or when Headings/Outlines is toggled between root
content navigation view.
Change-Id: I473782ad46c52cc40c1994860be7288b1c03c623
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125083
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
-rw-r--r-- | sw/source/uibase/utlui/content.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index f938d8e2617a..19af01d363a8 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -2025,6 +2025,8 @@ bool SwContentTree::RequestingChildren(const weld::TreeIter& rParent) // add this node as a parent candidate for any following nodes at a higher outline level aParentCandidates.emplace_back(m_xTreeView->make_iterator(xChild.get())); + + bChild = true; } } } |