* suggest folder-to-unlock after each drop

This commit is contained in:
Reinhard Pointner 2014-12-11 19:38:08 +00:00
parent a28ddede8b
commit e0491a2cbc
1 changed files with 6 additions and 0 deletions

View File

@ -154,6 +154,12 @@ public class DropToUnlock extends JList<File> {
invokeLater(750, () -> {
dialog.setVisible(false);
});
} else {
model.stream().filter(f -> isLockedFolder(f)).findFirst().ifPresent(f -> {
invokeLater(250, () -> {
revealFiles(singleton(f));
});
});
}
};
};