mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
Try to avoid a crash regarding illegal paths received from GtkTreeView
This commit is contained in:
parent
5b41b6e861
commit
2eb76b142d
1 changed files with 2 additions and 0 deletions
|
@ -726,6 +726,8 @@ class TimelineFeature (FeatureBase):
|
|||
if visible_range is None:
|
||||
return
|
||||
start_path, end_path = visible_range
|
||||
if not start_path or not end_path:
|
||||
return
|
||||
ts1 = model.get_value (model.get_iter (start_path),
|
||||
model.COL_TIME)
|
||||
ts2 = model.get_value (model.get_iter (end_path),
|
||||
|
|
Loading…
Reference in a new issue