framework/source/uielement/toolbarmanager.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ce8a8e809dedc61d8355560914f78987ee11f1e2
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Tue Dec 8 15:52:16 2020 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Tue Dec 8 20:19:02 2020 +0100

    lock/unlock toolbar doesn't show an unticked checkbox
    
    when in the off state
    
    Change-Id: I1a3c2a1281029ef7d80836db8431f306aeb76db7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107428
    Reviewed-by: Tor Lillqvist <t...@collabora.com>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Jenkins

diff --git a/framework/source/uielement/toolbarmanager.cxx 
b/framework/source/uielement/toolbarmanager.cxx
index 9515dad96cdf..82b7e82607c8 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -1522,7 +1522,7 @@ void ToolBarManager::AddCustomizeMenuItems(ToolBox const 
* pToolBar)
 
     pMenu->InsertItem(MENUITEM_TOOLBAR_DOCKALLTOOLBAR, 
FwkResId(STR_TOOLBAR_DOCK_ALL_TOOLBARS));
     pMenu->InsertSeparator();
-    pMenu->InsertItem(MENUITEM_TOOLBAR_LOCKTOOLBARPOSITION, 
FwkResId(STR_TOOLBAR_LOCK_TOOLBAR));
+    pMenu->InsertItem(MENUITEM_TOOLBAR_LOCKTOOLBARPOSITION, 
FwkResId(STR_TOOLBAR_LOCK_TOOLBAR), MenuItemBits::CHECKABLE);
     pMenu->InsertItem(MENUITEM_TOOLBAR_CLOSE, 
FwkResId(STR_TOOLBAR_CLOSE_TOOLBAR));
 
     if (m_pToolBar->IsCustomize())
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to