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:30:37 +0000 (13:30 +0200)
src/uisupport/bufferview.cpp

index 28cb2c0..5316782 100644 (file)
@@ -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;