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
1 changed files with 1 additions and 1 deletions

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) {