From 5a5a1de4b8420844e26bd3e8d090c3376240c354 Mon Sep 17 00:00:00 2001 From: wongjiahau Date: Mon, 13 Feb 2023 16:10:08 +0800 Subject: [PATCH] fix(explore/rename): should regenarate index --- helix-term/src/ui/tree.rs | 2 ++ 1 file changed, 2 insertions(+) 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(()) }