[PyQt] changes to the model is not applied to the database.

iMath 2281570025 at qq.com
Sat Jan 11 09:30:55 GMT 2014


After setting up a table model in the following code:
http://codepad.org/nAUt68p1


changes to the model is not applied to the database.


In eric python IDE(In other IDE may not found this error),after edited the data item,it shows the following error:
QSqlQuery::value: not positioned on a valid record
anyone can help me fix this problem ?thanks !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140111/a209c6d6/attachment.html>


More information about the PyQt mailing list