qt5base-lts/tests/auto/sql/models/qsqltablemodel
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
..
.gitignore Moved sql autotests into new directory structure 2011-09-06 09:32:15 +02:00
qsqltablemodel.pro QSqlTableModel::selectRow(): don't expand cache if there is no change 2012-10-05 03:16:25 +02:00
tst_qsqltablemodel.cpp fix QSqlTableModel:revert() for OnFieldChange 2013-02-09 01:39:54 +01:00