sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 1b7e9896c72e51d8a4a448d1ee6c60001ad714ea
Author:     Andras Timar <andras.ti...@collabora.com>
AuthorDate: Fri Apr 4 12:10:19 2025 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Mon Apr 7 09:24:23 2025 +0200

    LOKit: hide Options button from a11y issues panel
    
    Change-Id: I9aa47cb1fd911a9a05b0bff673511cb66541380a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183705
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx 
b/sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx
index a898f9c5384d..070c7b534b1a 100644
--- a/sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx
+++ b/sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx
@@ -228,11 +228,13 @@ A11yCheckIssuesPanel::A11yCheckIssuesPanel(weld::Widget* 
pParent, SfxBindings* p
 
     // If LOKit is enabled, then enable the update button and don't run the 
accessibility check.
     // In desktop don't show the update button and schedule to run the 
accessibility check async
+    // If LOKit is enabled, hide the Options button and its label.
     if (comphelper::LibreOfficeKit::isActive())
     {
         m_xLevelExpanders[0]->hide();
         m_xLevelExpanders[1]->hide();
         mxUpdateBox->show();
+        m_xBuilder->weld_widget(u"gridOptions"_ustr)->hide();
     }
     else
     {

Reply via email to