mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed Bug that channel info was not shown when displaying reruns with epgsearch
This commit is contained in:
parent
be0aa49068
commit
77368ebbd1
2
HISTORY
2
HISTORY
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user