Hi,
I attached the modified Qt books demo and you see the problem. Insert a new row and try to fill the fields. I also found the problem while I prepared that example. When you use
model->setEditStrategy(QSqlTableModel::OnFieldChange);
To copy to clipboard, switch view to plain text mode
instead of
model->setEditStrategy(QSqlTableModel::OnManualSubmit);
To copy to clipboard, switch view to plain text mode
you will notice that the when the fields get changed the are not changed in the table. Can someone explain to me the different behavior?
Thanks in advance.
Bookmarks