[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - framework/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Dec 8 19:20:19 UTC 2020
framework/source/uielement/toolbarmanager.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 95765493c81e9ee4482638ded3e28f68c14cc83e
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Dec 8 15:52:16 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Dec 8 20:19:34 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/+/107383
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx
index 2dceb5bb1116..53d456f235c5 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())
More information about the Libreoffice-commits
mailing list