added token {nummenuitem} for plugin menu lists
This commit is contained in:
parent
bab251a7a1
commit
cb9044e5f6
2
HISTORY
2
HISTORY
|
@ -158,3 +158,5 @@ Version 0.1.4
|
||||||
- fixed token volpercent in nopacity and metrixhd
|
- fixed token volpercent in nopacity and metrixhd
|
||||||
- added "empty" operator additionally to "isset" to check in a condition
|
- added "empty" operator additionally to "isset" to check in a condition
|
||||||
if a string token is set
|
if a string token is set
|
||||||
|
- added token {nummenuitem} for plugin menu lists
|
||||||
|
|
||||||
|
|
|
@ -801,6 +801,7 @@ void cDisplayMenuItemPluginView::SetTokens(void) {
|
||||||
if (!itemInit) return;
|
if (!itemInit) return;
|
||||||
itemInit = false;
|
itemInit = false;
|
||||||
intTokens.insert(pair<string,int>("current", current));
|
intTokens.insert(pair<string,int>("current", current));
|
||||||
|
intTokens.insert(pair<string,int>("nummenuitem", num+1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue