mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 16:28:51 -05:00
Fix "Fetch Episodes only" behaviour
This commit is contained in:
parent
3ad63a76cc
commit
8aecd9f868
@ -720,7 +720,7 @@ public class RenamePanel extends JComponent {
|
||||
log.log(Level.WARNING, e, e::toString);
|
||||
}
|
||||
|
||||
return emptyList();
|
||||
return null; // cancel operation
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -859,11 +859,13 @@ public class RenamePanel extends JComponent {
|
||||
// clear names list
|
||||
renameModel.values().clear();
|
||||
|
||||
List<File> remainingFiles = new LinkedList<File>(getFiles(evt));
|
||||
if (remainingFiles.isEmpty()) {
|
||||
// select files
|
||||
List<File> files = getFiles(evt);
|
||||
if (files == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
List<File> remainingFiles = new LinkedList<File>(files);
|
||||
boolean strict = isStrict(evt);
|
||||
SortOrder order = getSortOrder(evt);
|
||||
Locale locale = getLocale(evt);
|
||||
|
Loading…
Reference in New Issue
Block a user