CBouquetList/CMenuWidget: use block() instead disableInfoClock()

This commit is contained in:
2020-01-05 21:17:59 +01:00
parent 32b52a9c96
commit 06aec40a25
2 changed files with 2 additions and 2 deletions

View File

@@ -723,7 +723,7 @@ void CBouquetList::paintHead()
void CBouquetList::paint() void CBouquetList::paint()
{ {
//ensure stop info clock before paint this window //ensure stop info clock before paint this window
CInfoClock::getInstance()->disableInfoClock(); CInfoClock::getInstance()->block();
liststart = (selected/listmaxshow)*listmaxshow; liststart = (selected/listmaxshow)*listmaxshow;
int lastnum = liststart + listmaxshow; int lastnum = liststart + listmaxshow;

View File

@@ -1408,7 +1408,7 @@ void CMenuWidget::paint()
} }
if (CInfoClock::getInstance()->isRun()) if (CInfoClock::getInstance()->isRun())
CInfoClock::getInstance()->disableInfoClock(); CInfoClock::getInstance()->block();
calcSize(); calcSize();