infoviewer: fix display of info clock on activated infobar

clock was always visible
This commit is contained in:
2020-01-05 21:17:59 +01:00
parent a6bffd8d12
commit ec3907a0e5

View File

@@ -698,6 +698,8 @@ void CInfoViewer::showTitle(t_channel_id chid, const bool calledFromNumZap, int
void CInfoViewer::showTitle(CZapitChannel * channel, const bool calledFromNumZap, int epgpos, bool forcePaintButtonBar/*=false*/) void CInfoViewer::showTitle(CZapitChannel * channel, const bool calledFromNumZap, int epgpos, bool forcePaintButtonBar/*=false*/)
{ {
CInfoClock::getInstance()->disableInfoClock();
if(!calledFromNumZap && !(zap_mode & IV_MODE_DEFAULT)) if(!calledFromNumZap && !(zap_mode & IV_MODE_DEFAULT))
resetSwitchMode(); resetSwitchMode();
int renderFlag = ((g_settings.theme.infobar_gradient_top) ? Font::FULLBG : 0) | Font::IS_UTF8; int renderFlag = ((g_settings.theme.infobar_gradient_top) ? Font::FULLBG : 0) | Font::IS_UTF8;