mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
Fix crash when adding a line to bottom view with log filter turned on
This commit is contained in:
parent
08e6121766
commit
2b59250ec0
1 changed files with 1 additions and 1 deletions
|
@ -1234,7 +1234,7 @@ class LineView (object):
|
||||||
|
|
||||||
if len (line_model):
|
if len (line_model):
|
||||||
timestamps = [row[line_model.COL_TIME] for row in 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
|
from bisect import bisect_right
|
||||||
position = bisect_right (timestamps, row[line_model.COL_TIME])
|
position = bisect_right (timestamps, row[line_model.COL_TIME])
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue