mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
eventlist: suplement to 'optimize button paint on changed caption content'
More simplified
This commit is contained in:
@@ -1086,7 +1086,7 @@ void CEventList::paintFoot(t_channel_id channel_id)
|
|||||||
{
|
{
|
||||||
for(size_t i=0; i < btn_size; i++)
|
for(size_t i=0; i < btn_size; i++)
|
||||||
{
|
{
|
||||||
CComponentsButton *btn = static_cast<CComponentsButton*> (footer->getButtonChainObject()->getCCItem(i));
|
CComponentsButton *btn = footer->getButtonLabel(i);
|
||||||
if (g_Locale->getString(buttons[i].locale) != btn->getCaptionString())
|
if (g_Locale->getString(buttons[i].locale) != btn->getCaptionString())
|
||||||
{
|
{
|
||||||
btn->setCaption(buttons[i].locale);
|
btn->setCaption(buttons[i].locale);
|
||||||
|
Reference in New Issue
Block a user