1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-16 14:25:02 -05: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() {