workspace: Fix auto-reveal-in-project-panel for Images, Notebooks and.. Terminals? (#40128)

This regressed in #39199

Release Notes:

- Fixed image files not getting auto-revealed in project panel.
This commit is contained in:
Piotr Osiewicz
2025-10-13 18:19:00 +00:00
committed by GitHub
parent bd13c90acc
commit 5c4649bd37
3 changed files with 11 additions and 0 deletions
+4
View File
@@ -716,6 +716,10 @@ impl Item for NotebookEditor {
Some(cx.new(|cx| Self::new(self.project.clone(), self.notebook_item.clone(), window, cx)))
}
fn buffer_kind(&self, _: &App) -> workspace::item::ItemBufferKind {
workspace::item::ItemBufferKind::Singleton
}
fn for_each_project_item(
&self,
cx: &App,