sw/source/uibase/utlui/content.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ed3194963ad533ec8425787321def6bae8166fa1 Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Wed Apr 30 13:27:57 2025 +0000 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Thu May 1 06:51:55 2025 +0200 Navigator: fix change detection Navigator was marked as changed even if no node was modified. After changing eg. bulet list (not header) which is not visible in navigator - we got messages. This is caused by wrong condition: "invisible" has to match with "sensitive" to be different state Change-Id: I622d69f9d3cfcec8724d87e18a7897660e8e2670 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184834 Reviewed-by: Michael Meeks <michael.me...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index c48b519bb276..06a0b2f9ce9d 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -3636,7 +3636,7 @@ bool SwContentTree::HasContentChanged() const SwContent* pCnt = pArrType->GetMember(j); - if (pCnt->IsInvisible() != m_xTreeView->get_sensitive(*xEntry, 0)) + if (pCnt->IsInvisible() == m_xTreeView->get_sensitive(*xEntry, 0)) { bContentChanged = true; break;