From 3c1e3252464eae82943483695a90d4d98e292ccb Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Thu, 23 Feb 2017 21:49:44 +0100 Subject: [PATCH] - followscreenings: don't show, when channel_id is 0 --- src/gui/followscreenings.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/followscreenings.cpp b/src/gui/followscreenings.cpp index b14a00bb5..e712754cc 100644 --- a/src/gui/followscreenings.cpp +++ b/src/gui/followscreenings.cpp @@ -145,6 +145,9 @@ void CFollowScreenings::updateRightIcon(int ix, time_t start, unsigned int durat void CFollowScreenings::show() { + if (channel_id == 0) + return; + char actionstr[32]; getFollowScreenings(); @@ -177,4 +180,3 @@ void CFollowScreenings::show() m.exec(NULL, ""); } } -