Bryan Beutler
Sun, 07 Feb 2010 23:02:49 -0800
Hi, I've used QDataWidgetMapper with the OnManualSubmit strategy with no problems.
Now I have a form that I need to update the database immediately after each
widget is edited as the user traverses the form. I set the edit strategy to
OnFieldChange. The database gets updated only on the first widget edited.
For testing purposes, I called model.select() and mapper.toFirst() after the
first widget was edited. The next widget edited now updates to the database,
but no more after that.
Do I have to call select() and toFirst() after every edit? This does not seem
practical. Am I missing something?
Thanks,
Bryan
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt