diff --git a/crates/git_ui/src/git_panel.rs b/crates/git_ui/src/git_panel.rs index c57150355f11663d0ac37493a8331e78a04e8d65..33ad03ffcaaa349b206f4eda59ef4689d66b3d0b 100644 --- a/crates/git_ui/src/git_panel.rs +++ b/crates/git_ui/src/git_panel.rs @@ -5072,7 +5072,7 @@ impl GitPanel { cx.listener(move |this, event: &ClickEvent, window, cx| { this.selected_entry = Some(ix); cx.notify(); - if event.modifiers().secondary() { + if event.click_count() > 1 || event.modifiers().secondary() { this.open_file(&Default::default(), window, cx) } else { this.open_diff(&Default::default(), window, cx);