From 2d5616341d64cdb6047f0f9d5ec125cb761dc8b6 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 5 Jan 2020 22:22:22 +0100 Subject: [PATCH] infoviewer: fix display of info clock on activated infobar clock was always visible Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/bb44c16038e70f40c49b47a6c360789823920e0f Author: Thilo Graf Date: 2020-01-05 (Sun, 05 Jan 2020) ------------------ This commit was generated by Migit --- src/gui/infoviewer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index df37e5e11..b6bacbf30 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -727,6 +727,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*/) { + CInfoClock::getInstance()->disableInfoClock(); + if(!calledFromNumZap && !(zap_mode & IV_MODE_DEFAULT)) resetSwitchMode(); int renderFlag = ((g_settings.theme.infobar_gradient_top) ? Font::FULLBG : 0) | Font::IS_UTF8;