diff options
| author | louis <louis.braun@gmx.de> | 2015-01-11 14:46:33 +0100 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2015-01-11 14:46:33 +0100 |
| commit | 5d86c45bc679974079842913b81785a4fbfb3305 (patch) | |
| tree | 019dad87de4006b0cc140c7104342596ba12a368 /displaymenu.c | |
| parent | 74febbfe86b63ac894b40f1d6c5fb2de8c6973b5 (diff) | |
| download | vdr-plugin-skindesigner-5d86c45bc679974079842913b81785a4fbfb3305.tar.gz vdr-plugin-skindesigner-5d86c45bc679974079842913b81785a4fbfb3305.tar.bz2 | |
fixed again display of channel in schedules header
Diffstat (limited to 'displaymenu.c')
| -rw-r--r-- | displaymenu.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/displaymenu.c b/displaymenu.c index 5a1a3e6..7759b61 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -100,13 +100,15 @@ bool cSDDisplayMenu::SetItemEvent(const cEvent *Event, int Index, bool Current, rootView->SetEpgSearchFavorite(); } const cChannel *channel = Channel; - if (!channel) { - channel = rootView->GetChannel(); - } - if (!channel && Event) { - channel = Channels.GetByChannelID(Event->ChannelID()); + if (MenuCategory() == mcSchedule) { + if (!channel) { + channel = rootView->GetChannel(); + } + if (!channel && Event) { + channel = Channels.GetByChannelID(Event->ChannelID()); + } + rootView->SetChannel(channel); } - rootView->SetChannel(channel); cDisplayMenuListView *list = rootView->GetListView(); if (!list) |
