summaryrefslogtreecommitdiffstats
path: root/filestreemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'filestreemodel.cpp')
-rw-r--r--filestreemodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/filestreemodel.cpp b/filestreemodel.cpp
index b841e8a..f7763e4 100644
--- a/filestreemodel.cpp
+++ b/filestreemodel.cpp
@@ -257,7 +257,7 @@ bool FilesTreeModel::setData(const QModelIndex &index, const QVariant &value, in
mUpdateDvdQuery->bindValue(":id", index.data(FilesIdRole));
mUpdateDvdQuery->bindValue(":dvd", value);
if(mUpdateDvdQuery->exec()){
- refresh();
+ item->setData(DvdNo, value);
return true;
}else{
return false;