From e75b817b728711d2230eca4a6f07b4913c5e2dd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stadler?= Date: Fri, 25 Jan 2008 15:44:38 +0200 Subject: [PATCH] Fix bottom view not showing current line until you add something there --- debug-viewer/GstDebugViewer/GUI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ()