sw/source/uibase/sidebar/CommentsPanel.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 854d4e6e6a98688118a71357ba1171218f6e64f3 Author: Mohit Marathe <mohitmara...@proton.me> AuthorDate: Sun Sep 22 20:17:19 2024 +0530 Commit: Sarper Akdemir <sarper.akde...@allotropia.de> CommitDate: Mon Sep 23 00:09:48 2024 +0200 tdf#163040 Fix comment panel showing only latest comment Change-Id: I5e0c454a371691ba17866006cb5763ec6d7f9058 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173769 Tested-by: Jenkins Reviewed-by: Sarper Akdemir <sarper.akde...@allotropia.de> diff --git a/sw/source/uibase/sidebar/CommentsPanel.cxx b/sw/source/uibase/sidebar/CommentsPanel.cxx index e85ad128998a..6bf6d8336a70 100644 --- a/sw/source/uibase/sidebar/CommentsPanel.cxx +++ b/sw/source/uibase/sidebar/CommentsPanel.cxx @@ -557,6 +557,7 @@ void CommentsPanel::deleteComment(sal_uInt32 nId) mxThreadsContainer->move(pThread->get_widget(), nullptr); if (mpThreadsMap.find(nRootId) != mpThreadsMap.end()) mpThreadsMap.erase(nRootId); + mnThreads--; } }