From b2bbbb191c46b9ffcd50561e87c12daf3e0e94bf Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 28 Aug 2024 10:17:12 +0800 Subject: [PATCH] fix: copy multiple commits info not working anymore --- src/Views/Histories.axaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Views/Histories.axaml.cs b/src/Views/Histories.axaml.cs index b0c2e470..1dfea12d 100644 --- a/src/Views/Histories.axaml.cs +++ b/src/Views/Histories.axaml.cs @@ -680,7 +680,7 @@ namespace SourceGit.Views private void OnCommitListKeyDown(object sender, KeyEventArgs e) { - if (sender is ListBox { SelectedItems: { Count : 1 } selected } && + if (sender is ListBox { SelectedItems: { Count : > 0 } selected } && e.Key == Key.C && e.KeyModifiers.HasFlag(KeyModifiers.Control)) {