sw/source/uibase/docvw/edtwin.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 8afc4d10f917cfb5faadac0a1dd8856373693630 Author: Jim Raykowski <rayk...@gmail.com> AuthorDate: Tue Jul 9 13:22:52 2024 -0800 Commit: Jim Raykowski <rayk...@gmail.com> CommitDate: Wed Jul 10 17:27:34 2024 +0200 tdf#161717 Enhancement to identify click on tracked change This is a followup that fixes tracked change comments are not always highlighted in the Manage Changes dialog/sidebar panel when the anchor triangle is clicked on in the document. Change-Id: I0bf8bebf8133777e79101e908afd268ab44c0d68 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170258 Tested-by: Jenkins Reviewed-by: Jim Raykowski <rayk...@gmail.com> diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index 1abf300f3d86..81064a94a8f7 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -5366,8 +5366,7 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt) // tdf#161717 - Track changes: Clicking on change in document should highlight related change // in "Manage Changes" window/sidebar - if (SwContentAtPos aRedlineContentAtPos(IsAttrAtPos::Redline); - rSh.GetContentAtPos(aDocPt, aRedlineContentAtPos)) + if (m_rView.GetWrtShell().GetCurrRedline()) { SwDocShell* pDocSh = m_rView.GetDocShell(); if (pDocSh)