fixed a bug in the bufferviews
authorMarcus Eggenberger <egs@quassel-irc.org>
Tue, 8 Jul 2008 11:30:37 +0000 (13:30 +0200)
committerMarcus Eggenberger <egs@quassel-irc.org>
Tue, 8 Jul 2008 11:33:33 +0000 (13:33 +0200)
src/uisupport/bufferview.cpp

index 62060db..5422172 100644 (file)
@@ -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;