mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
changed devices list, device numbers start with 0
This commit is contained in:
@@ -74,10 +74,11 @@ bool cViewHelpers::SetDevices(bool initial, map<string,int> *intTokens, vector<m
|
||||
if (!device || !device->NumProvidedSystems()) {
|
||||
continue;
|
||||
}
|
||||
actualNumDevices++;
|
||||
|
||||
map< string, string > deviceVals;
|
||||
stringstream strNum;
|
||||
strNum << actualNumDevices;
|
||||
actualNumDevices++;
|
||||
deviceVals.insert(pair< string, string >("devices[num]", strNum.str()));
|
||||
deviceVals.insert(pair< string, string >("devices[type]", *(device->DeviceType())));
|
||||
cCamSlot *camSlot = device->CamSlot();
|
||||
|
Reference in New Issue
Block a user