enhance: auto-select the first revision in file histories view

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-02-06 13:13:45 +08:00
parent 38a8490d16
commit dacbd2a791
No known key found for this signature in database

View file

@ -276,6 +276,8 @@ namespace SourceGit.ViewModels
{
IsLoading = false;
Commits = commits;
if (Commits.Count > 0)
SelectedCommits.Add(Commits[0]);
});
});