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

This commit is contained in:
svenhoefer
2017-02-23 22:00:42 +01:00
parent 3c1e325246
commit b97a3e84ed

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;