hey, i’d rather like the ListBox component to have a funtion whereby it will always keep one item selected. if i delete an item from the list, and an item before the last one is selected, the next row will be selected. if i delete the last item from the list tho, the selection falls to none, which is something i have to code around when it must have one selected. it’d be great if a setting would make it always move the selection back to the ‘new’ last entry.
good point, I might tweak it to do that in the next version.
You could always do it in your subclass though, by overriding the selectedRowsChanged() method and making it select something if the current selection is empty.