diff options
author | louis <louis.braun@gmx.de> | 2014-11-22 11:48:54 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-11-22 11:48:54 +0100 |
commit | 77368ebbd181ceb3b25545d6331f30d72900fa70 (patch) | |
tree | 91064f5885cd211293d619df68483b097087f961 | |
parent | be0aa490686ee5e9cf72393d9f73a1b59cc05dd8 (diff) | |
download | vdr-plugin-skindesigner-77368ebbd181ceb3b25545d6331f30d72900fa70.tar.gz vdr-plugin-skindesigner-77368ebbd181ceb3b25545d6331f30d72900fa70.tar.bz2 |
fixed Bug that channel info was not shown when displaying reruns with epgsearch
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | displaymenu.c | 2 | ||||
-rw-r--r-- | views/displaymenuview.h | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -91,3 +91,5 @@ Version 0.0.5 Version 0.0.6 +- fixed Bug that channel info was not shown when displaying reruns with + epgsearch diff --git a/displaymenu.c b/displaymenu.c index 5ba25a8..fd01f85 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -100,8 +100,8 @@ bool cSDDisplayMenu::SetItemEvent(const cEvent *Event, int Index, bool Current, } if (!channel && Event) { channel = Channels.GetByChannelID(Event->ChannelID()); - rootView->SetChannel(channel); } + rootView->SetChannel(channel); cDisplayMenuListView *list = rootView->GetListView(); if (!list) return false; diff --git a/views/displaymenuview.h b/views/displaymenuview.h index 3247c76..b9ffb5f 100644 --- a/views/displaymenuview.h +++ b/views/displaymenuview.h @@ -51,7 +51,7 @@ private: public: cDisplayMenuSchedulesView(cTemplateView *tmplView, eMenuCategory menuCat, bool menuInit); virtual ~cDisplayMenuSchedulesView(); - void SetChannel(const cChannel *channel) { this->channel = channel; }; + void SetChannel(const cChannel *channel) { if (!this->channel) this->channel = channel; }; const cChannel *GetChannel(void) { return channel; }; bool DrawHeader(void); }; |