From: Marcus Eggenberger Date: Tue, 8 Jul 2008 11:30:37 +0000 (+0200) Subject: fixed a bug in the bufferviews X-Git-Tag: 0.3.0~299 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=f7ecaba7b3028332bbaa6e8c345ee3aab3e661b1 fixed a bug in the bufferviews --- 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;