Fix bottom view not showing current line until you add something there

This commit is contained in:
René Stadler 2008-01-25 15:44:38 +02:00 committed by Stefan Sauer
parent 43badaea0c
commit e75b817b72

View file

@ -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 ()