diff options
author | Kshitij Pathania <kshitijpathania@gmail.com> | 2018-06-13 15:51:13 +0530 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2018-06-14 22:26:40 +0200 |
commit | 65a9e32b0ff3b2128d5381344f08ddacf758cece (patch) | |
tree | 4ec17035ea5ed860d6d69071848e954bceeef0b9 /vcl/source | |
parent | 98ac01e74ab95c735b7383601ad2e4ed09962184 (diff) |
Icons in menubutton are visible now
Change-Id: Icccf8ebfafcb556327def38bc37d1d25a1b6e58d
Reviewed-on: https://gerrit.libreoffice.org/55744
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
(cherry picked from commit 51b72278b3c64978d0219f406ed5ab194cac2e0c)
Reviewed-on: https://gerrit.libreoffice.org/55821
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/builder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 4f070fcb5e77..935ffc0eacfe 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -2962,7 +2962,7 @@ void VclBuilder::insertMenuObject(PopupMenu *pParent, PopupMenu *pSubMenu, const { OUString sLabel(BuilderUtils::convertMnemonicMarkup(extractLabel(rProps))); OUString aCommand(extractActionName(rProps)); - pParent->InsertItem(nNewId, sLabel, MenuItemBits::TEXT, rID); + pParent->InsertItem(nNewId, sLabel, MenuItemBits::NONE , rID); pParent->SetItemCommand(nNewId, aCommand); if (pSubMenu) pParent->SetPopupMenu(nNewId, pSubMenu); |