CChannelList: don't assign logo if disabled

This commit is contained in:
2017-04-27 11:24:29 +02:00
parent 19fc8c6d3b
commit 85f4992ca8

View File

@@ -2148,6 +2148,8 @@ void CChannelList::paintHead()
header->setChannelLogo((*chanlist)[selected]->getChannelID(), (*chanlist)[selected]->getName());
header->getChannelLogoObject()->allowPaint(false);
}
else
header->setChannelLogo(0, string());
header->paint(CC_SAVE_SCREEN_NO);
showChannelLogo();
}