diff --git a/helix-term/src/ui/tree.rs b/helix-term/src/ui/tree.rs index c147b1e3..d8e00741 100644 --- a/helix-term/src/ui/tree.rs +++ b/helix-term/src/ui/tree.rs @@ -208,6 +208,8 @@ impl Tree { self.sort(); + self.regenerate_index(); + Ok(()) }