added token {nummenuitem} for plugin menu lists

This commit is contained in:
louis 2015-01-18 16:06:54 +01:00
parent bab251a7a1
commit cb9044e5f6
2 changed files with 3 additions and 0 deletions

View File

@ -158,3 +158,5 @@ Version 0.1.4
- fixed token volpercent in nopacity and metrixhd
- added "empty" operator additionally to "isset" to check in a condition
if a string token is set
- added token {nummenuitem} for plugin menu lists

View File

@ -801,6 +801,7 @@ void cDisplayMenuItemPluginView::SetTokens(void) {
if (!itemInit) return;
itemInit = false;
intTokens.insert(pair<string,int>("current", current));
intTokens.insert(pair<string,int>("nummenuitem", num+1));
}