Skip to content

Commit

Permalink
File list widget: sort list when dragging folder
Browse files Browse the repository at this point in the history
  • Loading branch information
imagejan committed Apr 19, 2022
1 parent 7a0bc52 commit 2c129be
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ private List<File> getFilesFromFolder(File inputFolder) {
.asList((Files.walk(inputFolder.toPath())
.filter(path -> filter.accept(path.toFile())))
.map(path -> path.toFile())
.sorted()
.toArray(File[]::new));
} catch (IOException exc) {
logService
Expand Down

0 comments on commit 2c129be

Please sign in to comment.