[solved]QTableView and SQlite, after query update unwanted new row
like mentioned above I have a problem with QTableView. First I'll describe the conditions:
I have a QTableView with QSqlRelationalTableModel. I created one Dialog, to edit contents easier. Here is the problem:
When I open the Dialog, make changes etc. I can successfully update the values in the database, but a new row is added.
How can I fix this?
Edit: I could fix it!
If you've found the solution by your own please post it here
The problem was that I overlooked, that there was an insert statement, just removed and it worked.