* suggest folder-to-unlock after each drop
This commit is contained in:
parent
a28ddede8b
commit
e0491a2cbc
|
@ -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));
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue