From f7ecaba7b3028332bbaa6e8c345ee3aab3e661b1 Mon Sep 17 00:00:00 2001 From: Marcus Eggenberger Date: Tue, 8 Jul 2008 13:30:37 +0200 Subject: [PATCH] fixed a bug in the bufferviews --- src/uisupport/bufferview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1