diff --git a/source/net/filebot/ui/rename/ConflictDialog.java b/source/net/filebot/ui/rename/ConflictDialog.java index 980a7c38..c4297cfb 100644 --- a/source/net/filebot/ui/rename/ConflictDialog.java +++ b/source/net/filebot/ui/rename/ConflictDialog.java @@ -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");