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

Don't ask to unlock filesystem root /

This commit is contained in:
Reinhard Pointner 2017-01-12 00:58:59 +08:00
parent 464e9852a9
commit 70c076eb3a

View File

@ -114,7 +114,7 @@ public class DropToUnlock extends JList<File> {
} 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<File> files) {