projects
/
emufront
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Emitting a dataChanged signal from setData after succesful update and connecting...
[emufront]
/
src
/
models
/
filepathmodel.cpp
diff --git
a/src/models/filepathmodel.cpp
b/src/models/filepathmodel.cpp
index
bd59729
..
0622a5c
100644
(file)
--- a/
src/models/filepathmodel.cpp
+++ b/
src/models/filepathmodel.cpp
@@
-96,6
+96,7
@@
bool FilePathModel::setData(const QModelIndex &index, const QVariant &value, int
ok = false;
qDebug() << "File path model, this shouldn't be happening!";
}
+ if (ok) emit dataChanged();
refresh();
return ok;
}