Quote Originally Posted by niko View Post
However I still have a problem:
steps to reproduce (with attached application):
* open popup
* select 1.2
* open popup again
* close branch
* Test 1 gets the new root?!
Does anyone know how to solve this?

removing lines
setRootModelIndex(view()->currentIndex().parent());
setCurrentIndex(view()->currentIndex().row());
will solve this problem partially.

If ComboBox is non-editable it work correct, but if it is editable bug comes back.