Skip to content

table: Don't clear the selection when setting current index

Arjen Hiemstra requested to merge work/ahiemstra/tablemultiselect into master

setCurrentIndex with ItemSelectionModel.ClearAndSelect will clear the current index, then select and make the new index current. This breaks the logic for multi selection that is later in this function. So make sure to only update current index and leave actual selection to the rest of the function.

BUG: 460615

Merge request reports