summaryrefslogtreecommitdiffstats
path: root/src/sql
diff options
context:
space:
mode:
authorDerick Hawcroft <derick.hawcroft@nokia.com>2009-07-09 03:58:28 (GMT)
committerDerick Hawcroft <derick.hawcroft@nokia.com>2009-07-09 04:00:05 (GMT)
commit5142a27c19fb01ec80010d2d1de12b0e3082751f (patch)
treec23b906aff5a5b120bd69054a3bcc22c057eace9 /src/sql
parent99cda3446c6ff5c3da4fe8fb4bc8869497f8da8b (diff)
downloadQt-5142a27c19fb01ec80010d2d1de12b0e3082751f.zip
Qt-5142a27c19fb01ec80010d2d1de12b0e3082751f.tar.gz
Qt-5142a27c19fb01ec80010d2d1de12b0e3082751f.tar.bz2
emit dataChanged() signal
Task-number:207874
Diffstat (limited to 'src/sql')
-rw-r--r--src/sql/models/qsqltablemodel.cpp1
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) {