Neutrino timer list: always show correct infos in EPG viewer

if the EPG ID of a timer list entry is 0 or the corresponding EPG data
can't be found, then you see wrong infos in EPG viewer

Signed-off-by: Christian Schuett <Gaucho316@hotmail.com>
This commit is contained in:
Christian Schuett
2013-06-02 19:31:26 +02:00
committed by Jacek Jendrzej
parent 78d9d97a82
commit 5964aa7ad4

View File

@@ -642,7 +642,10 @@ int CTimerList::show()
if (timer->eventType == CTimerd::TIMER_RECORD || timer->eventType == CTimerd::TIMER_ZAPTO)
{
hide();
res = g_EpgData->show(timer->channel_id, timer->epgID, &timer->epg_starttime);
if (timer->epgID != 0)
res = g_EpgData->show(timer->channel_id, timer->epgID, &timer->epg_starttime);
else
ShowLocalizedHint(LOCALE_MESSAGEBOX_INFO, LOCALE_EPGVIEWER_NOTFOUND);
if (res==menu_return::RETURN_EXIT_ALL)
loop=false;
else