mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-30 22:01:10 +08:00
fix: files should be displayed after folders (#597)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user