followscreenings: don't show, when followlist is empty

Origin commit data
------------------
Branch: ni/coolstream
Commit: b97a3e84ed
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-23 (Thu, 23 Feb 2017)

Origin message was:
------------------
- followscreenings: don't show, when followlist is empty

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-02-23 22:00:42 +01:00
parent 135704be3a
commit 94e626142e

View File

@@ -152,10 +152,13 @@ void CFollowScreenings::show()
getFollowScreenings();
if (followlist.size() == 1) {
if (followlist.size() == 1)
{
snprintf(actionstr, sizeof(actionstr), "%lu", followlist.front().startTime);
exec(NULL, actionstr);
} else {
}
else if (followlist.size() > 1)
{
CMenuWidget m(LOCALE_EPGVIEWER_SELECT_SCREENING, NEUTRINO_ICON_SETTINGS);
const char *icon = NEUTRINO_ICON_BUTTON_RED;
neutrino_msg_t directKey = CRCInput::RC_red;