diff options
author | Arno <am@disconnect.de> | 2012-11-17 08:10:18 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2012-11-17 08:10:18 +0100 |
commit | 2a56e7483e29b26808e796a41be8ac4fc08926fb (patch) | |
tree | 272bf7b03281ac1eb4095ea99a9d97db204eb48c /mappingtreemodel.cpp | |
parent | c01144b29afc0879ebff89704b10095696721930 (diff) | |
download | SheMov-2a56e7483e29b26808e796a41be8ac4fc08926fb.tar.gz SheMov-2a56e7483e29b26808e796a41be8ac4fc08926fb.tar.bz2 SheMov-2a56e7483e29b26808e796a41be8ac4fc08926fb.zip |
More fallout from the MappingTreeModel fix
Forgot to fix the Edit widget... While at it, refresh the view if
mappings changed in PicturesWidget.
Diffstat (limited to 'mappingtreemodel.cpp')
-rw-r--r-- | mappingtreemodel.cpp | 2 |
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); |