From: Marcus Eggenberger Date: Tue, 8 Jul 2008 11:30:37 +0000 (+0200) Subject: fixed a bug in the bufferviews X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=db9c4664a48fa097fc443442d6f7f02f2e492b4a;p=quassel.git fixed a bug in the bufferviews --- diff --git a/src/uisupport/bufferview.cpp b/src/uisupport/bufferview.cpp index 28cb2c0b..53167824 100644 --- a/src/uisupport/bufferview.cpp +++ b/src/uisupport/bufferview.cpp @@ -322,7 +322,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;