Comment 3 for bug 1780363

Revision history for this message
Fabián Inostroza (fabianinostroza) wrote :

Hi @Maciej,

The thing is that because of the functions call I noticed in my last comment the method COMPONENT_TREE::Regenerate() is unable to restore the selected component (it only expands the previously expanded trees) because the item being edited gets unselected.

I commented out those function calls and now the tree is still rebuild when editing the symbol but the item is now selected and the scrollbar is at least in a correct place, the symbol is visible in the tree without scrolling.

I don't know why these function call were added in the first place, they seem to be doing the inverse the comment says.