My guess is that your model is incorrect. It is probably being reset after a change occurs which causes the view to be reset as well which would produce the behaviour you describe. How did you implement setData() and insertRows() in your model?
I don't think so beacouse I'm just using standart QSqlRelationTabelModel. I can publish the sources tomorrow if it will be helpful.
Bookmarks