diff options
author | qkzk <qu3nt1n@gmail.com> | 2023-11-05 18:37:16 +0100 |
---|---|---|
committer | qkzk <qu3nt1n@gmail.com> | 2023-11-05 18:37:16 +0100 |
commit | cd52d2a0379b51861fd9b18a90db41809b655c68 (patch) | |
tree | cde881237ec0f642fc543fb48b621383f62199b7 /src/tab.rs | |
parent | 24047aeb4af565ba1eb25d6948aeec8ea83c7531 (diff) |
tree select last. Ugly fix
Diffstat (limited to 'src/tab.rs')
-rw-r--r-- | src/tab.rs | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -386,9 +386,8 @@ impl Tab { /// Go to the last leaf. pub fn tree_go_to_bottom_leaf(&mut self) -> Result<()> { - self.directory.tree.set_required_height_to_max(); - self.directory.unselect_children(); - self.directory.go_to_bottom_leaf() + self.tree.select_last(); + Ok(()) } /// Returns the current path. |