Fix background paint header clock in channellist

This commit is contained in:
M. Liebmann
2014-09-25 21:53:35 +02:00
committed by [CST] Focus
parent c2181a605f
commit 862a724a3d
2 changed files with 7 additions and 1 deletions

View File

@@ -2155,6 +2155,12 @@ void CChannelList::paintHead()
CComponentsHeader header(x, y, full_width, theight, name /*no header icon*/);
header.paint(CC_SAVE_SCREEN_NO);
if (headerClock != NULL) {
headerClock->clearSavedScreen();
delete headerClock;
headerClock = NULL;
}
if (g_Sectionsd->getIsTimeSet()) {
if (headerClock == NULL) {
headerClock = new CComponentsFrmClock(0, 0, 0, 0, "%H:%M", true);