added separator for recmenu listelement

This commit is contained in:
louis 2016-01-30 10:31:58 +01:00
parent 9090b5554a
commit c341448bbf
2 changed files with 2 additions and 0 deletions

View File

@ -950,6 +950,7 @@ enum class eLeMenuRecordingsST {
enum class eLeMenuRecordingsIT {
nummenuitem = 0,
current,
separator,
isnew,
percentseen,
watched,

View File

@ -1387,6 +1387,7 @@ bool cLeMenuRecordings::Parse(bool forced) {
tokenContainer->Clear();
tokenContainer->AddIntToken((int)eLeMenuRecordingsIT::nummenuitem, num);
tokenContainer->AddIntToken((int)eLeMenuRecordingsIT::current, current);
tokenContainer->AddIntToken((int)eLeMenuRecordingsIT::separator, !selectable);
bool isFolder = (total > 0) ? true : false;
tokenContainer->AddIntToken((int)eLeMenuRecordingsIT::folder, isFolder);