diff options
author | louis <louis.braun@gmx.de> | 2014-12-19 15:05:26 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-12-19 15:05:26 +0100 |
commit | a443d53e85de7e2f7e2ac56c5297d792ca103268 (patch) | |
tree | 2e40d14b9403f0ba74e9e0fa2e870c0d9ee9efd3 | |
parent | 84756db20870696911fdac83313d256085b9966b (diff) | |
download | vdr-plugin-skindesigner-a443d53e85de7e2f7e2ac56c5297d792ca103268.tar.gz vdr-plugin-skindesigner-a443d53e85de7e2f7e2ac56c5297d792ca103268.tar.bz2 |
fixed bug that wrong channel was shown in header of whatson if entering from whatsonnow
-rw-r--r-- | HISTORY | 4 | ||||
-rw-r--r-- | views/displaymenuview.h | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -112,4 +112,6 @@ Version 0.1.0 - fixed display of color buttons in detailed views - fixed possible Nullpointer access in displaymenurootview -- added currentschedule viewelement in displaymenumain
\ No newline at end of file +- added currentschedule viewelement in displaymenumain +- fixed bug that wrong channel was shown in header of whatson + if entering from whatsonnow
\ No newline at end of file diff --git a/views/displaymenuview.h b/views/displaymenuview.h index 665ed7f..dbed6b6 100644 --- a/views/displaymenuview.h +++ b/views/displaymenuview.h @@ -52,7 +52,7 @@ private: public: cDisplayMenuSchedulesView(cTemplateView *tmplView, eMenuCategory menuCat, bool menuInit); virtual ~cDisplayMenuSchedulesView(); - void SetChannel(const cChannel *channel) { if (!this->channel) this->channel = channel; }; + void SetChannel(const cChannel *channel) { if (channel) this->channel = channel; }; const cChannel *GetChannel(void) { return channel; }; bool DrawHeader(void); }; |