mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed custom tokens in main menu
This commit is contained in:
parent
53a6a971a4
commit
8328a5d4d9
@ -1031,6 +1031,7 @@ void cTemplateViewMenu::SetViewElements(void) {
|
||||
viewElementsAllowed.insert("timers");
|
||||
viewElementsAllowed.insert("devices");
|
||||
viewElementsAllowed.insert("currentschedule");
|
||||
viewElementsAllowed.insert("customtokens");
|
||||
viewElementsAllowed.insert("scrollbar");
|
||||
viewElementsAllowed.insert("detailheader");
|
||||
viewElementsAllowed.insert("tablabels");
|
||||
@ -1112,6 +1113,9 @@ string cTemplateViewMenu::GetViewElementName(eViewElement ve) {
|
||||
case veCurrentSchedule:
|
||||
name = "Current Schedule";
|
||||
break;
|
||||
case veCustomTokens:
|
||||
name = "Custom Tokens";
|
||||
break;
|
||||
case veDevices:
|
||||
name = "Devices";
|
||||
break;
|
||||
@ -1223,6 +1227,8 @@ void cTemplateViewMenu::AddPixmap(string sViewElement, cTemplatePixmap *pix, vec
|
||||
ve = veTimers;
|
||||
} else if (!sViewElement.compare("currentschedule")) {
|
||||
ve = veCurrentSchedule;
|
||||
} else if (!sViewElement.compare("customtokens")) {
|
||||
ve = veCustomTokens;
|
||||
} else if (!sViewElement.compare("devices")) {
|
||||
ve = veDevices;
|
||||
} else if (!sViewElement.compare("scrollbar")) {
|
||||
|
Loading…
Reference in New Issue
Block a user