projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
client: Don't send dataChanged() before actually changing the data
[quassel.git]
/
src
/
client
/
treemodel.cpp
diff --git
a/src/client/treemodel.cpp
b/src/client/treemodel.cpp
index
f02f731
..
f87d336
100644
(file)
--- a/
src/client/treemodel.cpp
+++ b/
src/client/treemodel.cpp
@@
-316,8
+316,9
@@
bool PropertyMapItem::setData(int column, const QVariant &value, int role)
if (column >= columnCount() || role != Qt::DisplayRole)
return false;
+ setProperty(_propertyOrder[column].toLatin1(), value);
emit dataChanged(column);
- return
setProperty(_propertyOrder[column].toLatin1(), value)
;
+ return
true
;
}