CChannelList: add instance check for header clock object

Only for sure.
This commit is contained in:
2017-06-15 01:01:54 +02:00
parent c4976bb132
commit 340a6992a1

View File

@@ -2143,6 +2143,7 @@ void CChannelList::paintHead()
header->removeContextButtons();
header->enableClock(true, "%H:%M", "%H %M", true);
if (header->getClockObject())
header->getClockObject()->setCorner(RADIUS_LARGE, CORNER_TOP_RIGHT);
}else{
if (header->getClockObject()){