diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index fb40d19a1..58bef2afe 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -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); diff --git a/src/gui/components/cc_frm_clock.cpp b/src/gui/components/cc_frm_clock.cpp index c6aecd590..a26f95d28 100644 --- a/src/gui/components/cc_frm_clock.cpp +++ b/src/gui/components/cc_frm_clock.cpp @@ -305,7 +305,7 @@ bool CComponentsFrmClock::stopThread() return false; } } - kill(); + hide(); cl_thread = 0; return true; }