diff --git a/source/net/filebot/mac/DropToUnlock.java b/source/net/filebot/mac/DropToUnlock.java index 59ec6c1b..2fa1e2bf 100644 --- a/source/net/filebot/mac/DropToUnlock.java +++ b/source/net/filebot/mac/DropToUnlock.java @@ -114,7 +114,7 @@ public class DropToUnlock extends JList { } catch (Exception e) { return null; } - }).filter(f -> f != null && isLockedFolder(f)).sorted().distinct().collect(Collectors.toList()); + }).filter(f -> f != null && !f.getName().isEmpty() && isLockedFolder(f)).sorted().distinct().collect(Collectors.toList()); } public static boolean showUnlockFoldersDialog(Window owner, Collection files) {