Fix toolbar icon for menu until toolbar rewrite

master
boisso 8 years ago
parent 5d25d13f9d
commit d18dbe2fa5
  1. 2
      k-meleon/KmToolbar.cpp

@ -51,7 +51,7 @@ void KmToolbar::AddItem(KmButton& button, int before, UINT w, UINT h)
{
KmButton* pbutton = new KmButton();
*pbutton = button;
if (!pbutton->mID && pbutton->mAction.GetLength())
if (pbutton->mAction.GetLength())
pbutton->mID = theApp.commands.GetId(pbutton->mAction);
if (!pbutton->mID && pbutton->mName.GetLength())
return;

Loading…
Cancel
Save