X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Ftreemodel.cpp;h=18f7c4fe3de9617951bce9954a1b7e3faa0fd2bb;hp=2a2ed857710504052cd176f583d22f379102011d;hb=57ce4f437b29e538c80029d57f39efdbb9afb328;hpb=f12dbcd32ef6eff25bd730444e5165935e6b0cf5 diff --git a/src/client/treemodel.cpp b/src/client/treemodel.cpp index 2a2ed857..18f7c4fe 100644 --- a/src/client/treemodel.cpp +++ b/src/client/treemodel.cpp @@ -387,7 +387,7 @@ void TreeModel::itemDataChanged(int column) { if(column == -1) { leftIndex = createIndex(item->row(), 0, item); - rightIndex = createIndex(item->row(), item->columnCount(), item); + rightIndex = createIndex(item->row(), item->columnCount()-1, item); } else { leftIndex = createIndex(item->row(), column, item); rightIndex = leftIndex;