1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-02 08:25:02 -04:00
This commit is contained in:
Reinhard Pointner 2016-04-28 13:01:45 +08:00
parent 2cb0d355a6
commit d5e258a9d9
2 changed files with 1 additions and 8 deletions

View File

@ -391,14 +391,10 @@ class RenameAction extends AbstractAction {
}
}
// collect renamed types
List<Class<?>> types = new ArrayList<Class<?>>();
// remove renamed matches
for (File source : renameLog.keySet()) {
// find index of source file
int index = model.files().indexOf(source);
types.add(model.values().get(index).getClass());
// remove complete match
model.matches().remove(index);

View File

@ -77,15 +77,12 @@ class ValidateDialog extends JDialog {
}
});
JLabel label = new JLabel("Some names contain invalid characters:");
JLabel label = new JLabel("Some filenames contain invalid characters:");
JComponent content = (JComponent) getContentPane();
content.setLayout(new MigLayout("insets dialog, nogrid, fill", "", "[pref!][fill][pref!]"));
content.add(label, "wrap");
content.add(new JScrollPane(list), "grow, wrap 2mm");
content.add(new JButton(validateAction), "align center");
content.add(new JButton(continueAction), "gap related");
content.add(new JButton(cancelAction), "gap 12mm");