1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-02 00:15:02 -04:00

Load files in Human Sort Order as well when dropping them into the "New Names" list

This commit is contained in:
Reinhard Pointner 2016-09-28 15:16:13 +08:00
parent d829ef97c8
commit 99ad431994

View File

@ -97,7 +97,7 @@ class NamesListTransferablePolicy extends FileTransferablePolicy {
loadTorrentFiles(files, values);
} else {
// load all files from the given folders recursively up do a depth of 32
listFiles(files).stream().map(FastFile::new).forEach(values::add);
listFiles(files).stream().sorted(HUMAN_ORDER).map(FastFile::new).forEach(values::add);
}
model.addAll(values);