Skip to content

Fix detection of selected item

Ana Cabral requested to merge ac/fix-none-selected into main

If there is no item selected, it should return -1, and not zero. This way makes the function return if the first item of the array is selected, skipping the treatment of this case.

Merge request reports