diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 4ba1fce1282e02044afa190eb2f88e82d1cafc5f..b08f1dd1cfe683fe6ea3f900eb396502c46035e4 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| {