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("timers");
|
||||||
viewElementsAllowed.insert("devices");
|
viewElementsAllowed.insert("devices");
|
||||||
viewElementsAllowed.insert("currentschedule");
|
viewElementsAllowed.insert("currentschedule");
|
||||||
|
viewElementsAllowed.insert("customtokens");
|
||||||
viewElementsAllowed.insert("scrollbar");
|
viewElementsAllowed.insert("scrollbar");
|
||||||
viewElementsAllowed.insert("detailheader");
|
viewElementsAllowed.insert("detailheader");
|
||||||
viewElementsAllowed.insert("tablabels");
|
viewElementsAllowed.insert("tablabels");
|
||||||
@ -1112,6 +1113,9 @@ string cTemplateViewMenu::GetViewElementName(eViewElement ve) {
|
|||||||
case veCurrentSchedule:
|
case veCurrentSchedule:
|
||||||
name = "Current Schedule";
|
name = "Current Schedule";
|
||||||
break;
|
break;
|
||||||
|
case veCustomTokens:
|
||||||
|
name = "Custom Tokens";
|
||||||
|
break;
|
||||||
case veDevices:
|
case veDevices:
|
||||||
name = "Devices";
|
name = "Devices";
|
||||||
break;
|
break;
|
||||||
@ -1223,6 +1227,8 @@ void cTemplateViewMenu::AddPixmap(string sViewElement, cTemplatePixmap *pix, vec
|
|||||||
ve = veTimers;
|
ve = veTimers;
|
||||||
} else if (!sViewElement.compare("currentschedule")) {
|
} else if (!sViewElement.compare("currentschedule")) {
|
||||||
ve = veCurrentSchedule;
|
ve = veCurrentSchedule;
|
||||||
|
} else if (!sViewElement.compare("customtokens")) {
|
||||||
|
ve = veCustomTokens;
|
||||||
} else if (!sViewElement.compare("devices")) {
|
} else if (!sViewElement.compare("devices")) {
|
||||||
ve = veDevices;
|
ve = veDevices;
|
||||||
} else if (!sViewElement.compare("scrollbar")) {
|
} else if (!sViewElement.compare("scrollbar")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user