mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-23 10:22:13 +08:00
fix: copy multiple commits info not working anymore
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user