diff options
author | Mark Brand <mabrand@mabrand.nl> | 2012-02-29 01:51:23 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-15 15:35:22 +0100 |
commit | 3d7cec6577fa32fb6036b346db57c53e38ea2ffd (patch) | |
tree | ef364191256bdbc778629403cf3307a31e125301 /dist | |
parent | f6ca63f896b5f9a330ff497aebff6943653dc35d (diff) |
QSqlTableModel: disallow insert if changes are pending
For OnFieldChange and OnRowChange, inserting rows should not be
allowed if there are pending changes in cache.
Change-Id: Ia794332959a35a1de87e798ba1a74ace3dfae68f
Reviewed-by: Honglei Zhang <honglei.zhang@nokia.com>
Diffstat (limited to 'dist')
-rw-r--r-- | dist/changes-5.0.0 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index c85749f2eb..e10f0df195 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -444,7 +444,7 @@ has any changes to submit. QTBUG-3108 that fail upon resubmitting for edit strategies OnFieldChange and OnRowChange. Instead, pending (failed) changes cause new changes inappropriate to the edit strategy to be refused. The application should resolve or revert pending -changes. +changes. insertRows() and insertRecord() also respect the edit strategy. **************************************************************************** * Database Drivers * |