diff --git a/debug-viewer/GstDebugViewer/GUI.py b/debug-viewer/GstDebugViewer/GUI.py index 30800b3e31..6a27b653cc 100644 --- a/debug-viewer/GstDebugViewer/GUI.py +++ b/debug-viewer/GstDebugViewer/GUI.py @@ -1519,7 +1519,7 @@ class LineView (object): def handle_log_view_selection_changed (self, selection): line_model = self.line_view.props.model - if line_model is None or len (line_model) == 0: + if line_model is None: return model, tree_iter = selection.get_selected ()