1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

* don't colorize items without a corresponding match on the other side

This commit is contained in:
Reinhard Pointner 2012-07-17 20:46:56 +00:00
parent 0e2c1ecf36
commit df91452cc0

View File

@ -118,7 +118,7 @@ class RenameListCellRenderer extends DefaultFancyListCellRenderer {
} else {
// relative name mode
File path = new File(formattedFuture.toString());
setText(isSelected || matchProbablity < 1 ? formatPath(path) : colorizePath(path, !renameModel.preserveExtension()));
setText(isSelected || matchProbablity < 1 || !renameModel.hasComplement(index) ? formatPath(path) : colorizePath(path, !renameModel.preserveExtension()));
}
} else {
setText(formattedFuture.preview()); // default text