Fix newly created files not sorted correctly
(cherry picked from commit e69d40cad9
)
This commit is contained in:
parent
5bc44b53f6
commit
0bbdfd420a
1 changed files with 2 additions and 0 deletions
|
@ -669,9 +669,11 @@ void FileSystemDock::_sort_file_info_list(List<FileSystemDock::FileInfo> &r_file
|
|||
r_file_list.invert();
|
||||
break;
|
||||
case FILE_SORT_NAME_REVERSE:
|
||||
r_file_list.sort();
|
||||
r_file_list.invert();
|
||||
break;
|
||||
default: // FILE_SORT_NAME
|
||||
r_file_list.sort();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue