Newbie mistake.
The underlying model is in EditStrategy::OnManualSubmit mode and the only way to commit to disc is the QSqlTableModel::submitAll() method. The mapper's submit() method only calls the model's submit() method, which does not commit to disc for models in manual mode. For my application I think EditStrategy::OnFieldChange will get me what I need although explicitly calling submitAll() would also work.





Reply With Quote
Bookmarks