When using
my_model.setEditStrategy(QSqlTableModel::OnManualSubmit);
To copy to clipboard, switch view to plain text mode
I save with
my_model.submitAll();
my_model.submitAll();
To copy to clipboard, switch view to plain text mode
When using
my_model.setEditStrategy(QSqlTableModel::OnRowChange);
To copy to clipboard, switch view to plain text mode
I don't save manually.
After saving, occurs a "reselect" and the table position goes to the beginning.
The position must go to next field when ending an edition with tab key. And when clicking on another position while we are in edit mode must go to that position, not to the beginning.
Thank you
Bookmarks