Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
6.3.0
-
None
-
-
my bad
Description
bool QSqlTableModel::insertRecord(int row, const QSqlRecord &record)
Inserts the record at position row. If row is negative, the record will be appended to the end. Calls insertRows() and setRecord() internally.
Problem: row is negative, set -1 always return false. But set 0 is okay.