From 3d7cec6577fa32fb6036b346db57c53e38ea2ffd Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Wed, 29 Feb 2012 01:51:23 +0100 Subject: 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 --- dist/changes-5.0.0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dist') 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 * -- cgit v1.2.3