mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
fix: crash while running WorkingCopy.Clear
This commit is contained in:
parent
dbce8eebde
commit
bfd364752b
1 changed files with 2 additions and 2 deletions
|
@ -131,7 +131,7 @@ namespace SourceGit.ViewModels
|
|||
}
|
||||
else
|
||||
{
|
||||
SelectedStaged = null;
|
||||
SelectedStaged = [];
|
||||
|
||||
if (value.Count == 1)
|
||||
SetDetail(value[0]);
|
||||
|
@ -156,7 +156,7 @@ namespace SourceGit.ViewModels
|
|||
}
|
||||
else
|
||||
{
|
||||
SelectedUnstaged = null;
|
||||
SelectedUnstaged = [];
|
||||
|
||||
if (value.Count == 1)
|
||||
SetDetail(value[0]);
|
||||
|
|
Loading…
Reference in a new issue