X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fbufferview.cpp;h=54221724c39bc71768ca4bd645c755a52871ea8e;hp=62060dbbe30662502dbac604d95a0300420ab62b;hb=f7ecaba7b3028332bbaa6e8c345ee3aab3e661b1;hpb=29aa65d2983eea4800ac6cbeb4f25987806b2278 diff --git a/src/uisupport/bufferview.cpp b/src/uisupport/bufferview.cpp index 62060dbb..54221724 100644 --- a/src/uisupport/bufferview.cpp +++ b/src/uisupport/bufferview.cpp @@ -324,7 +324,7 @@ void BufferView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bott return; for(int i = topLeft.row(); i <= bottomRight.row(); i++) { - QModelIndex networkIdx = topLeft.sibling(topLeft.row(), 0); + QModelIndex networkIdx = topLeft.sibling(i, 0); if(model()->rowCount(networkIdx) == 0) continue;