summaryrefslogtreecommitdiffstats
path: root/mappingtreemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mappingtreemodel.cpp')
-rw-r--r--mappingtreemodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mappingtreemodel.cpp b/mappingtreemodel.cpp
index eed7d51..3d595c1 100644
--- a/mappingtreemodel.cpp
+++ b/mappingtreemodel.cpp
@@ -191,7 +191,7 @@ bool MappingTreeModel::setData(const QModelIndex &index, const QVariant &value,
q = mUpdateChildQ;
}
q->bindValue(":value", value);
- q->bindValue(":id", item->data(MappingId));
+ q->bindValue(":id", item->data(DescId));
if(q->exec()){
item->setData(Name, value);
emit dataChanged(index, index);