mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
clearing channel tokens in menu header if no channel is set
This commit is contained in:
parent
d84447652e
commit
c188d8f190
@ -628,6 +628,11 @@ bool cDisplayMenuSchedulesView::DrawHeader(void) {
|
||||
string channelID = *(channel->GetChannelID().ToString());
|
||||
stringTokens.insert(pair<string,string>("channelid", channelID));
|
||||
intTokens.insert(pair<string, int>("channellogoexists", imgCache->LogoExists(channelID)));
|
||||
} else {
|
||||
stringTokens.insert(pair<string,string>("channelnumber", ""));
|
||||
stringTokens.insert(pair<string,string>("channelname", ""));
|
||||
stringTokens.insert(pair<string,string>("channelid", ""));
|
||||
intTokens.insert(pair<string, int>("channellogoexists", 0));
|
||||
}
|
||||
bool hasIcon = false;
|
||||
string icon = imgCache->GetIconName(menuTitle, cat);
|
||||
|
Loading…
Reference in New Issue
Block a user