timerlist: fix double drawing of timer list

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
GetAway
2018-02-25 20:00:30 +01:00
committed by Thilo Graf
parent 47dd96d4e7
commit 7718b010f7

View File

@@ -1046,14 +1046,13 @@ int CTimerList::show()
if (timer->epgID != 0) if (timer->epgID != 0)
{ {
res = g_EpgData->show(timer->channel_id, timer->epgID, &timer->epg_starttime); res = g_EpgData->show(timer->channel_id, timer->epgID, &timer->epg_starttime);
update = true;
} }
else else
ShowHint(LOCALE_MESSAGEBOX_INFO, LOCALE_EPGVIEWER_NOTFOUND); ShowHint(LOCALE_MESSAGEBOX_INFO, LOCALE_EPGVIEWER_NOTFOUND);
if (res == menu_return::RETURN_EXIT_ALL) if (res == menu_return::RETURN_EXIT_ALL)
loop = false; loop = false;
else else
paint(); update = true;
} }
} }
} }