summaryrefslogtreecommitdiff
path: root/displaymenu.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-01-11 14:46:33 +0100
committerlouis <louis.braun@gmx.de>2015-01-11 14:46:33 +0100
commit5d86c45bc679974079842913b81785a4fbfb3305 (patch)
tree019dad87de4006b0cc140c7104342596ba12a368 /displaymenu.c
parent74febbfe86b63ac894b40f1d6c5fb2de8c6973b5 (diff)
downloadvdr-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.c14
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)