code_review: PR #120

* remove unnecessary code. The `SetProperty` function takes care of set same property in a loop
This commit is contained in:
leo 2024-05-10 16:30:34 +08:00
parent efd8e72c4e
commit 764cf24284
3 changed files with 6 additions and 21 deletions

View file

@ -291,7 +291,6 @@ namespace SourceGit.Views
if (DataContext is ViewModels.Histories histories)
{
histories.Select(commitDataGrid.SelectedItems);
histories.NotifyAutoSelectedCommitChanged();
}
e.Handled = true;
}