From 5964aa7ad4b3cbc2a3a4a9592d27e0acf4fb52bf Mon Sep 17 00:00:00 2001 From: Christian Schuett Date: Sun, 2 Jun 2013 19:31:26 +0200 Subject: [PATCH] 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 --- src/gui/timerlist.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/timerlist.cpp b/src/gui/timerlist.cpp index 0101f5e80..0b3d3dd97 100644 --- a/src/gui/timerlist.cpp +++ b/src/gui/timerlist.cpp @@ -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