Hi,
any contextmenu items will not be removed by default when loading other panos - that means once set, they will kept set.
One possibility would be 'overwriting' the items each time by using the same 'names' for these items.
Or - to remove all currently set items (e.g. before loading another xml), calls this:
|
Source code
|
1
|
set(contextmenu.item.count, 0);
|
Or - to remove a certain item - set the name of it to null:
|
Source code
|
1
|
set(contextmenu.item[NAME].name, null);
|
Best regards,
Klaus