Refresh outline panel on file renames (#42104)

Closes https://github.com/zed-industries/zed/issues/41877

Release Notes:

- Fixed outline panel not updating file headers on rename
This commit is contained in:
Kirill Bulatov authored and GitHub committed 2025-11-06 14:46:46 +00:00
1 parent 8b3a1d2ad2
commit dae950657f
1 file changed
+3
@@ -5204,6 +5204,9 @@ fn subscribe_for_editor_events(
outline_panel.update_cached_entries(Some(UPDATE_DEBOUNCE), window, cx);
}
}
EditorEvent::TitleChanged => {
outline_panel.update_fs_entries(editor.clone(), debounce, window, cx);
}
_ => {}
}
},