mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
feature: auto-select the first change when selected stash changed (#1019)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
c6747f72f9
commit
4d740f4731
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ namespace SourceGit.ViewModels
|
|||
private set
|
||||
{
|
||||
if (SetProperty(ref _changes, value))
|
||||
SelectedChange = null;
|
||||
SelectedChange = value is { Count: >0 } ? value[0] : null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue