summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorKshitij Pathania <kshitijpathania@gmail.com>2018-06-13 15:51:13 +0530
committerMaxim Monastirsky <momonasmon@gmail.com>2018-06-14 22:26:40 +0200
commit65a9e32b0ff3b2128d5381344f08ddacf758cece (patch)
tree4ec17035ea5ed860d6d69071848e954bceeef0b9 /vcl/source
parent98ac01e74ab95c735b7383601ad2e4ed09962184 (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.cxx2
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);