mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-02 08:25:02 -04:00
* usability enhancements
This commit is contained in:
parent
69bf967daa
commit
1913dfc13c
@ -151,9 +151,8 @@ public class DropToUnlock extends JList<File> {
|
||||
// if all folders have been unlocked auto-close dialog
|
||||
if (model.stream().allMatch(f -> !isLockedFolder(f))) {
|
||||
dialogCancelled.set(false);
|
||||
invokeLater(750, () -> {
|
||||
dialog.setVisible(false);
|
||||
});
|
||||
invokeLater(750, () -> dialog.setVisible(false)); // auto-close unlock dialog once all folders have been unlocked
|
||||
invokeLater(1000, () -> requestForeground()); // bring application to foreground now that folders have been unlocked
|
||||
} else {
|
||||
model.stream().filter(f -> isLockedFolder(f)).findFirst().ifPresent(f -> {
|
||||
invokeLater(250, () -> {
|
||||
|
Loading…
Reference in New Issue
Block a user