It brings another problem ... I have 4 TreeViews on 1 Model so I get notified 4 times on dataChanged().
First solution I see is to keep an internal flag to know when the user has really made a click. I can do it by using the mousePressEvent().
I think there is a better way to solve it.
The other problem I see is that I'll get notified on dataChanged(), then I'll update all selected items then get notified again ... and it will be an infinite loop.
Grrrr....
Regards,
Lionel
Bookmarks