sw/source/uibase/sidebar/QuickFindPanel.cxx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)
New commits: commit 206f5568c900e8d26f8f06833eda666801958c87 Author: Szymon Kłos <[email protected]> AuthorDate: Mon Aug 4 07:33:17 2025 +0000 Commit: Szymon Kłos <[email protected]> CommitDate: Tue Nov 18 15:23:56 2025 +0100 jsdialog: do not render quick find entries we prefer text which reduces used bandwidth Change-Id: Ifeefaeef737989336ecc5bd0e54823a05c160eec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188909 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Szymon Kłos <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194155 Tested-by: Jenkins diff --git a/sw/source/uibase/sidebar/QuickFindPanel.cxx b/sw/source/uibase/sidebar/QuickFindPanel.cxx index 9a23a17ff360..f830675d6269 100644 --- a/sw/source/uibase/sidebar/QuickFindPanel.cxx +++ b/sw/source/uibase/sidebar/QuickFindPanel.cxx @@ -177,10 +177,15 @@ QuickFindPanel::QuickFindPanel(weld::Widget* pParent, const uno::Reference<frame m_xFindAndReplaceToolbar->connect_clicked( LINK(this, QuickFindPanel, FindAndReplaceToolbarClickedHandler)); - m_xSearchFindsList->connect_custom_get_size( - LINK(this, QuickFindPanel, SearchFindsListCustomGetSizeHandler)); - m_xSearchFindsList->connect_custom_render(LINK(this, QuickFindPanel, SearchFindsListRender)); - m_xSearchFindsList->set_column_custom_renderer(1, true); + if (!comphelper::LibreOfficeKit::isActive()) + { + m_xSearchFindsList->connect_custom_get_size( + LINK(this, QuickFindPanel, SearchFindsListCustomGetSizeHandler)); + m_xSearchFindsList->connect_custom_render( + LINK(this, QuickFindPanel, SearchFindsListRender)); + m_xSearchFindsList->set_column_custom_renderer(1, true); + } + m_xSearchFindsList->connect_selection_changed( LINK(this, QuickFindPanel, SearchFindsListSelectionChangedHandler)); m_xSearchFindsList->connect_row_activated(
