sw/source/uibase/utlui/content.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 4d4278b1403d38b34ff80ca2a92164f40abd9c36 Author: Jim Raykowski <rayk...@gmail.com> AuthorDate: Fri Nov 12 00:18:07 2021 -0900 Commit: Jim Raykowski <rayk...@gmail.com> CommitDate: Sun Nov 14 05:31:32 2021 +0100 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 <rayk...@gmail.com> 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; } } }