sw/source/uibase/sidebar/QuickFindPanel.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 97136d76e06d5d3edd69fbaeb8e7756c6ee71136 Author: Jim Raykowski <[email protected]> AuthorDate: Thu Nov 13 22:54:21 2025 -0900 Commit: Jim Raykowski <[email protected]> CommitDate: Fri Nov 14 21:14:08 2025 +0100 sw sidebar Find: Fix only the first find is shown as selected Currently when a search is made using the sidebar Find in Writer that results in more than one find, only the first find in the document view is shown as selected. This patch makes all finds in the document view show as selected. Change-Id: Ib68f79be4710725b639bcba83326f84d2214bc39 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194008 Tested-by: Jenkins Reviewed-by: Jim Raykowski <[email protected]> diff --git a/sw/source/uibase/sidebar/QuickFindPanel.cxx b/sw/source/uibase/sidebar/QuickFindPanel.cxx index ca1c644af67d..702c961e77b6 100644 --- a/sw/source/uibase/sidebar/QuickFindPanel.cxx +++ b/sw/source/uibase/sidebar/QuickFindPanel.cxx @@ -453,11 +453,11 @@ void QuickFindPanel::FillSearchFindsList() nTransliterationFlags |= TransliterationFlags::IGNORE_CASE; aSearchOptions.transliterateFlags = nTransliterationFlags; - m_pWrtShell->SttSelect(); + m_pWrtShell->StartAllAction(); /*sal_Int32 nFound =*/m_pWrtShell->SearchPattern( aSearchOptions, false, SwDocPositions::Start, SwDocPositions::End, FindRanges::InBody | FindRanges::InSelAll, false); - m_pWrtShell->EndSelect(); + m_pWrtShell->EndAllAction(); if (m_pWrtShell->HasMark()) {
