diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 4ba1fce128..b08f1dd1cf 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -20359,7 +20359,7 @@ fn render_diff_hunk_controls( }) }) .child( - Button::new("restore", "Restore") + Button::new(("restore", row as u64), "Restore") .tooltip({ let focus_handle = editor.focus_handle(cx); move |window, cx| {