mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2025-01-23 01:36:57 -08:00
fix: files should be displayed after folders (#597)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
76a7a2228f
commit
339bceef3d
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ namespace SourceGit.ViewModels
|
||||||
{
|
{
|
||||||
if (l.IsFolder == r.IsFolder)
|
if (l.IsFolder == r.IsFolder)
|
||||||
return Models.NumericSort.Compare(l.FullPath, r.FullPath);
|
return Models.NumericSort.Compare(l.FullPath, r.FullPath);
|
||||||
return r.IsFolder ? -1 : 1;
|
return l.IsFolder ? -1 : 1;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue