mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07: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)
|
||||
return Models.NumericSort.Compare(l.FullPath, r.FullPath);
|
||||
return r.IsFolder ? -1 : 1;
|
||||
return l.IsFolder ? -1 : 1;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue