mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 19:02:39 +08:00
enhance: auto-select the first revision in file histories view
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -276,6 +276,8 @@ namespace SourceGit.ViewModels
|
||||
{
|
||||
IsLoading = false;
|
||||
Commits = commits;
|
||||
if (Commits.Count > 0)
|
||||
SelectedCommits.Add(Commits[0]);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user