From a5aa5c7fad5ae07d8c4958d9f18bf0c2bd820b9a Mon Sep 17 00:00:00 2001 From: Darshan11 Date: Wed, 29 Nov 2023 17:02:44 +0530 Subject: Disable Select/Unselect-current Filter Checkboxes in Calc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I99a3d78bfbb65e751328452d7405d7844f810dd9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160082 Tested-by: Jenkins CollaboraOffice Reviewed-by: Szymon Kłos (cherry picked from commit 5788f736578dc22bc9bcd46a6e75233237b82af2) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160697 Tested-by: Jenkins --- sc/source/ui/cctrl/checklistmenu.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sc') diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index 92e7096fc25a..ecee4dab0600 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -623,6 +623,13 @@ ScCheckListMenuControl::ScCheckListMenuControl(weld::Widget* pParent, ScViewData maSearchEditTimer.SetTimeout(EDIT_UPDATEDATA_TIMEOUT); maSearchEditTimer.SetInvokeHandler(LINK(this, ScCheckListMenuControl, SearchEditTimeoutHdl)); + + if (comphelper::LibreOfficeKit::isActive()) + { + mxBtnSelectSingle->hide(); + mxBtnUnselectSingle->hide(); + } + } void ScCheckListMenuControl::GrabFocus() -- cgit