set_autoselect


Description:

public void set_autoselect (bool autoselect)

If autoselect is true, this will enforce that an item is always selected.

It will select a new item when the currently selected item is deleted and it will disallow unselecting the current item.

Parameters:

this

a SingleSelection

autoselect

true to always select an item