mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
- followscreenings: don't show, when followlist is empty
This commit is contained in:
@@ -152,10 +152,13 @@ void CFollowScreenings::show()
|
|||||||
|
|
||||||
getFollowScreenings();
|
getFollowScreenings();
|
||||||
|
|
||||||
if (followlist.size() == 1) {
|
if (followlist.size() == 1)
|
||||||
|
{
|
||||||
snprintf(actionstr, sizeof(actionstr), "%lu", followlist.front().startTime);
|
snprintf(actionstr, sizeof(actionstr), "%lu", followlist.front().startTime);
|
||||||
exec(NULL, actionstr);
|
exec(NULL, actionstr);
|
||||||
} else {
|
}
|
||||||
|
else if (followlist.size() > 1)
|
||||||
|
{
|
||||||
CMenuWidget m(LOCALE_EPGVIEWER_SELECT_SCREENING, NEUTRINO_ICON_SETTINGS);
|
CMenuWidget m(LOCALE_EPGVIEWER_SELECT_SCREENING, NEUTRINO_ICON_SETTINGS);
|
||||||
const char *icon = NEUTRINO_ICON_BUTTON_RED;
|
const char *icon = NEUTRINO_ICON_BUTTON_RED;
|
||||||
neutrino_msg_t directKey = CRCInput::RC_red;
|
neutrino_msg_t directKey = CRCInput::RC_red;
|
||||||
|
Reference in New Issue
Block a user