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
2025-11-06 14:46:46 +00:00
committed by GitHub
parent 0b53da18d5
commit d54c64f35a
@@ -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);
}
_ => {}
}
},