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:
@@ -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);
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user