Comment out todo!() to fix panic when opening context menus

This commit is contained in:
Marshall Bowers 2023-11-22 12:41:06 -05:00
parent ca1d9dd0e5
commit 2c8d243d22

View file

@ -371,7 +371,7 @@ impl ProjectPanel {
_entry_id: ProjectEntryId,
_cx: &mut ViewContext<Self>,
) {
todo!()
// todo!()
// let project = self.project.read(cx);
// let worktree_id = if let Some(id) = project.worktree_id_for_entry(entry_id, cx) {