Use QSqlTableModel, it's automatically updated according to its EditStrategy. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20181111/5558a4ac/attachment.html>