added separator for recmenu listelement
This commit is contained in:
parent
9090b5554a
commit
c341448bbf
|
@ -950,6 +950,7 @@ enum class eLeMenuRecordingsST {
|
|||
enum class eLeMenuRecordingsIT {
|
||||
nummenuitem = 0,
|
||||
current,
|
||||
separator,
|
||||
isnew,
|
||||
percentseen,
|
||||
watched,
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue