Situation: There is a tree with an opportunity to add and remove nodes.
I expand and select some nodes and save references on them. After it I add new node and reset model.
Using saved nodes I want to resore selection and expand nodes which were selected...
But the problem is that they are already invalid. I can't understand at what time they become invalid, but I know that is happens before reset()-calling.
Question: Why?!!!
And how to work properly with QTreeView in my situation?