PDA

View Full Version : QSqlTableModel OnFieldChange causes what signal to fire?



scott_hollen
27th September 2011, 21:23
Afternoon all --

I have a SqlTableModel with an edit strategy of OnFieldChange. Does anyone know if there's a signal I can capture that will allow me to reset my model/mapper indices following a field change? I'd like changes to be captured immediately (for several reasons not worth mentioning) but when changes are submitted the indices get hosed.

Other ideas are welcomed!


scott

Added after 38 minutes:

Problem solved - future user of the application wants a SAVE button but I could have used QlineEdit::textChanged...


scott