Skip to content

Commit 0cba72b

Browse files
committed
Update function_diff.rs
1 parent a73b2cf commit 0cba72b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

objdiff-gui/src/views/function_diff.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ pub(crate) fn asm_col_ui(
388388

389389
// Handle context menu
390390
if let Some(ins_ref) = ins_row.ins_ref {
391-
response = response.context_menu(|ui| {
391+
response.context_menu(|ui| {
392392
if let Some(action) = ins_context_menu(
393393
ui, ctx.obj, symbol_ref, ins_ref, column, diff_config, appearance, has_selection,
394394
) {
@@ -400,7 +400,7 @@ pub(crate) fn asm_col_ui(
400400
});
401401
} else if has_selection {
402402
// Even rows without instructions can have context menu for copy/clear selected
403-
response = response.context_menu(|ui| {
403+
response.context_menu(|ui| {
404404
if ui.button("📋 Copy selected rows").clicked() {
405405
ret = Some(DiffViewAction::CopySelectedRows(column));
406406
ui.close();

0 commit comments

Comments
 (0)