Browse Source

Fix toolbar icon for menu until toolbar rewrite

import/tags/kmeleon75b1
boisso 8 years ago
parent
commit
0cf43dc738
  1. 2
      k-meleon/KmToolbar.cpp

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