Fix crash when adding a line to bottom view with log filter turned on

This commit is contained in:
René Stadler 2007-12-04 14:40:41 +02:00 committed by Stefan Sauer
parent 08e6121766
commit 2b59250ec0

View file

@ -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: