mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CChannelList: don't assign logo if disabled
This commit is contained in:
@@ -2148,6 +2148,8 @@ void CChannelList::paintHead()
|
|||||||
header->setChannelLogo((*chanlist)[selected]->getChannelID(), (*chanlist)[selected]->getName());
|
header->setChannelLogo((*chanlist)[selected]->getChannelID(), (*chanlist)[selected]->getName());
|
||||||
header->getChannelLogoObject()->allowPaint(false);
|
header->getChannelLogoObject()->allowPaint(false);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
header->setChannelLogo(0, string());
|
||||||
header->paint(CC_SAVE_SCREEN_NO);
|
header->paint(CC_SAVE_SCREEN_NO);
|
||||||
showChannelLogo();
|
showChannelLogo();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user