mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 21:24:59 +00:00
enhance: auto-select the first revision in file histories view
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
38a8490d16
commit
dacbd2a791
1 changed files with 2 additions and 0 deletions
|
@ -276,6 +276,8 @@ namespace SourceGit.ViewModels
|
||||||
{
|
{
|
||||||
IsLoading = false;
|
IsLoading = false;
|
||||||
Commits = commits;
|
Commits = commits;
|
||||||
|
if (Commits.Count > 0)
|
||||||
|
SelectedCommits.Add(Commits[0]);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue