1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

Fix NPE bug

This commit is contained in:
Reinhard Pointner 2016-10-16 17:44:26 +08:00
parent 18ce7c0096
commit f1bf5e798f

View File

@ -84,7 +84,7 @@ public class Preset {
}
}
return listFiles(getInputFolder(), f -> f.isFile() && filter.accept(f), HUMAN_NAME_ORDER);
return listFiles(getInputFolder(), filter == null ? FILES : filter, HUMAN_NAME_ORDER);
}
public AutoCompleteMatcher getAutoCompleteMatcher() {