diff options
author | qkzk <qu3nt1n@gmail.com> | 2023-11-05 17:11:40 +0100 |
---|---|---|
committer | qkzk <qu3nt1n@gmail.com> | 2023-11-05 17:11:40 +0100 |
commit | a6b4c084c56a2e4368fa431b9e361d8b9eb1a62e (patch) | |
tree | 72c89f4653db20d90f22b603a677dffbf3daa3f0 /src/tab.rs | |
parent | 0b4667503c2575d153a0f5aa064e0cd55e18b806 (diff) |
tree select root
Diffstat (limited to 'src/tab.rs')
-rw-r--r-- | src/tab.rs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -533,8 +533,10 @@ impl Tab { /// Fold every child node in the tree. /// Recursively explore the tree and fold every node. Reset the display. pub fn tree_go_to_root(&mut self) -> Result<()> { - self.directory.tree.reset_required_height(); - self.tree_select_root() + // self.directory.tree.reset_required_height(); + // self.tree_select_root() + self.tree.select_root(); + Ok(()) } /// Select the first child of the current node and reset the display. |