>> setTocModel function is called any time window gets focus - is this really >> needed? > > No and I changed this recently: ... > Did you try since this revision?
yes i tried. updateGui is still called any time refocusing happens. concerning the fix - do we have some mechanism which would call setTreeDepth function with some latency, ie after qt do its own updates ? at least now i know how to how to detect that the reset will happen but need to wait until qt will do its updates. pavel