We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e489a7 commit 9d5c292Copy full SHA for 9d5c292
src/main/java/com/github/mfl28/boundingboxeditor/controller/Controller.java
@@ -1302,7 +1302,7 @@ private List<File> getImageFilesFromDirectory(File directory) throws IOException
1302
1303
try(Stream<Path> imageFiles = Files.walk(path, MAX_DIRECTORY_DEPTH)) {
1304
return imageFiles.map(file -> new File(file.toString()))
1305
- .filter(File::isFile)
+ .filter(file -> file.isFile() && !file.isHidden())
1306
.sorted(Comparator.comparing(File::getName))
1307
.toList();
1308
}
0 commit comments