Browse Source

Fix image in toolbars.cfg

master
boisso 7 years ago
parent
commit
30c92f5203
  1. 6
      k-meleon/toolbars/toolbars.cpp

6
k-meleon/toolbars/toolbars.cpp

@ -906,6 +906,12 @@ void EndButton(s_toolbar *toolbar, s_button *button, int state) {
button->height
};
if (kbutton.hotimage && !kbutton.coldimage) {
kbutton.coldimage = kbutton.hotimage;
kbutton.hotimage = nullptr;
}
kPlugin.kFuncs->AddButtonEx(toolbar->sTitle, &kbutton);
if (label) free(label);
if (name) free(name);

Loading…
Cancel
Save