Monteverdi: delete layer button deletes the wrong layer
Description
The 'delete selected layer' button deletes the wrong layer stack item when clicked twice.
Steps to reproduce
Add three layers, select the first one then click the 'delete selected layer' button twice. The first and third items will be deleted instead of the first and second.
Configuration information
OTB 6.4 on windows 10.