qt5base-lts/tests/auto/sql/models
Mark Brand 93ed02e3b1 fix QSqlTableModel:revert() for OnFieldChange
revert() should operate in OnFieldChange edit strategy just as
submit() does. The reason in Qt 4 for excluding OnFieldChange
was that there was no opportunity to revert. The model was
refreshed, causing all changes to be lost. In Qt 5 a failed
edit remains in the cache until user action, which could be
to revert.

Change-Id: Ide021c4f83a53834b7ed81f2abfa3aa49317704d
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
2013-02-09 01:39:54 +01:00
..
qsqlquerymodel Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qsqlrelationaltablemodel Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qsqltablemodel fix QSqlTableModel:revert() for OnFieldChange 2013-02-09 01:39:54 +01:00
models.pro add and use qtHaveModule() function 2012-12-21 19:05:02 +01:00