mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-10 06:20:27 -04:00
Fix GUI conflict behaviour
@see https://www.filebot.net/forums/viewtopic.php?f=8&t=4428&p=24740#p24740
This commit is contained in:
parent
a106151ca4
commit
d4624fb47a
@ -275,16 +275,16 @@ class ConflictDialog extends JDialog {
|
||||
issues.add("Missing extension");
|
||||
}
|
||||
|
||||
// check if input and output overlap
|
||||
if (renameMap.containsKey(to)) {
|
||||
issues.add("Conflict with source path");
|
||||
}
|
||||
|
||||
// one file per unique output path
|
||||
if (!destFiles.add(to)) {
|
||||
issues.add("Duplicate destination path");
|
||||
}
|
||||
|
||||
// check if input and output overlap
|
||||
if (renameMap.containsKey(to) && !to.equals(from)) {
|
||||
issues.add("Conflict with source path");
|
||||
}
|
||||
|
||||
// check if destination path already exists
|
||||
if (to.exists() && !to.equals(from)) {
|
||||
issues.add("File already exists");
|
||||
|
Loading…
x
Reference in New Issue
Block a user