[PyQt] Troubleshooting QDataWidgetMapper.submit failure

alan moore me at alandmoore.com
Mon Feb 11 22:40:00 GMT 2019


I have a form that is connected to a QSqlRelationalTableModel using 
QDataWidgetMapper.  When I call the mapper's submit() method to save the 
data, it returns false.  Calling lastError() on the model returns a 'no 
error' code, so I'm at a loss as to why my form fails to save data.

Is there somewhere else I can look for a possible error?



More information about the PyQt mailing list