mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-30 13:51:53 +08:00
feature: auto-select the first change when selected stash changed (#1019)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -89,7 +89,7 @@ namespace SourceGit.ViewModels
|
||||
private set
|
||||
{
|
||||
if (SetProperty(ref _changes, value))
|
||||
SelectedChange = null;
|
||||
SelectedChange = value is { Count: >0 } ? value[0] : null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user