Fix crash when adding a line to bottom view with log filter turned on
authorRené Stadler <mail@renestadler.de>
Tue, 4 Dec 2007 12:40:41 +0000 (14:40 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Thu, 11 Sep 2014 18:51:42 +0000 (20:51 +0200)
debug-viewer/GstDebugViewer/GUI.py

index 95c5864..269a76d 100755 (executable)
@@ -1234,7 +1234,7 @@ class LineView (object):
 
         if len (line_model):
             timestamps = [row[line_model.COL_TIME] for row in line_model]
-            row = log_filter[(super_line_index,)]
+            row = log_filter[(line_index,)]
             from bisect import bisect_right
             position = bisect_right (timestamps, row[line_model.COL_TIME])
         else: