Skip to content
  • Daniel Elstner's avatar
    :expand_and_select): Replace the calls to TreeSelection::select() and · 842bd708
    Daniel Elstner authored
    * src/filetree.cc (FileTree::expand_and_select): Replace the
    calls to TreeSelection::select() and TreeView::scroll_to_row()
    by a single TreeView::set_cursor() call.
    (FileTree::find_files): After the tree has been filled in, the
    first call to expand_and_select() doesn't always scroll to the
    selected row (no matter if set_cursor() or scroll_to_row() is
    used there).  Explicitely scroll to the first row after filling
    the tree to work around this problem.
    842bd708
To find the state of this project's repository at the time of any of these versions, check out the tags.