diff options
author | Derick Hawcroft <derick.hawcroft@nokia.com> | 2009-07-09 03:58:28 (GMT) |
---|---|---|
committer | Derick Hawcroft <derick.hawcroft@nokia.com> | 2009-07-09 04:00:05 (GMT) |
commit | 5142a27c19fb01ec80010d2d1de12b0e3082751f (patch) | |
tree | c23b906aff5a5b120bd69054a3bcc22c057eace9 | |
parent | 99cda3446c6ff5c3da4fe8fb4bc8869497f8da8b (diff) | |
download | Qt-5142a27c19fb01ec80010d2d1de12b0e3082751f.zip Qt-5142a27c19fb01ec80010d2d1de12b0e3082751f.tar.gz Qt-5142a27c19fb01ec80010d2d1de12b0e3082751f.tar.bz2 |
emit dataChanged() signal
Task-number:207874
-rw-r--r-- | src/sql/models/qsqltablemodel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sql/models/qsqltablemodel.cpp b/src/sql/models/qsqltablemodel.cpp index 1acc846..591b506 100644 --- a/src/sql/models/qsqltablemodel.cpp +++ b/src/sql/models/qsqltablemodel.cpp @@ -538,6 +538,7 @@ bool QSqlTableModel::setData(const QModelIndex &index, const QVariant &value, in isOk = updateRowInTable(index.row(), d->editBuffer); if (isOk) select(); + emit dataChanged(index, index); break; } case OnRowChange: if (index.row() == d->insertIndex) { |