Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix “Open file in project" option in the right-click menu not working (#60807)
Yifeng Xu08359123ac72
diff --git a/crates/editor/src/element/header.rs b/crates/editor/src/element/header.rsindex 0ba76a13761..880139039d6 100644--- a/crates/editor/src/element/header.rs+++ b/crates/editor/src/element/header.rs@@ -976,7 +976,7 @@ pub(crate) fn render_buffer_header(let editor = editor.clone();let buffer_snapshot = buffer.clone();- right_click_menu("buffer-header-context-menu")+ right_click_menu(("buffer-header-context-menu", buffer_id.to_proto())).trigger(move |_, _, _| header).menu(move |window, cx| {let menu_context = focus_handle.clone();