Fix bottom view showing the wrong selected log line

This commit is contained in:
René Stadler 2008-02-04 17:36:57 +02:00 committed by Stefan Sauer
parent 29ce10fb46
commit c96c55a62c

View file

@ -1530,7 +1530,7 @@ class LineView (object):
return
path = model.get_path (tree_iter)
line_index = model.line_index_to_super (path[0])
line_index = model.line_index_to_top (path[0])
if len (line_model) == 0:
line_model.insert_line (0, line_index)