I am displaying a tree and I need to add an element, but I want to keep the currently selected item. If I do it like this:
oldSelectedItem := treePresenter selectedItem.
treePresenter
roots: newRootCollection;
selectItem: oldSelectedItem
it will of course work, but there is a problem: the activation event (whenActivatedDo:) will be triggered and I do not what this!
How can I proceed to avoid it?