* 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
1 changed files with 1 additions and 1 deletions

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