On Thursday 25 November 2010, 17:57:09 [email protected] wrote:
> Hello,
>
> With OnManualSubmit on QSqlTableModel using the insertRows function
> the cell roles for EditRole and DisplayRole is not set properly.
> Actually they seem to remain uninitialized and have the value
> QVariant.Invalid. This causes my table editors to behave stange (but
> only for new rows).
>
> With OnRowChange it is all fine.

The usual "please provide a minimum runnable example" applies here too..

You may base it on examples/connection.py for database setup.

Pete
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to