Re: QSqlRelationalDelegate
And if I attach the item delegate to the table view
Code:
tableView->setItemDelegate(itemDelegate)
the createEditor function is called before the setEditorData and there is no longer a segmentation fault but the tableView behaves in a psychedelic way. If I edit something, the contents the cells are in a certain way mixed up. If I edit a cell, the cell where I was before takes the previous value of the cell I just modified.
I guess I must be doing something wrong but I did exactly the same thing as in the documentation.
Thanks!...