summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-12-19 15:05:26 +0100
committerlouis <louis.braun@gmx.de>2014-12-19 15:05:26 +0100
commita443d53e85de7e2f7e2ac56c5297d792ca103268 (patch)
tree2e40d14b9403f0ba74e9e0fa2e870c0d9ee9efd3 /views
parent84756db20870696911fdac83313d256085b9966b (diff)
downloadvdr-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
Diffstat (limited to 'views')
-rw-r--r--views/displaymenuview.h2
1 files changed, 1 insertions, 1 deletions
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);
};