melatonina
09/05/2020, 10:08 AMmelatonina
09/05/2020, 6:21 PMtreeItem.children.onChange { change ->
while(change.next()) {
change.addedSubList.lastOrNull()?.let {
selectionModel.select(it)
}
}
}
I'm almost sure this will cause oversubscription. Moreover, I will have problems when I'll create a treeview and bind it to a non-empty list, because a node will be selected at startup.