fixed crash in epgsearch fav view

This commit is contained in:
louis
2016-02-09 15:38:51 +01:00
parent b7d25009c0
commit c0297c01dc
2 changed files with 3 additions and 1 deletions

View File

@@ -399,6 +399,8 @@ void cViewMenu::SetMessage(eMessageType type, const char *text) {
}
void cViewMenu::SetChannelHeader(const cEvent *event) {
if (!event)
return;
if (menuChange && menuCat == mcSchedule) {
const cChannel *channel = Channels.GetByChannelID(event->ChannelID());
if (channel)