1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05: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 // remove renamed matches
for (File source : renameLog.keySet()) { for (File source : renameLog.keySet()) {
// find index of source file // find index of source file
int index = model.files().indexOf(source); int index = model.files().indexOf(source);
types.add(model.values().get(index).getClass());
// remove complete match // remove complete match
model.matches().remove(index); 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(); JComponent content = (JComponent) getContentPane();
content.setLayout(new MigLayout("insets dialog, nogrid, fill", "", "[pref!][fill][pref!]")); content.setLayout(new MigLayout("insets dialog, nogrid, fill", "", "[pref!][fill][pref!]"));
content.add(label, "wrap"); content.add(label, "wrap");
content.add(new JScrollPane(list), "grow, wrap 2mm"); content.add(new JScrollPane(list), "grow, wrap 2mm");
content.add(new JButton(validateAction), "align center"); content.add(new JButton(validateAction), "align center");
content.add(new JButton(continueAction), "gap related"); content.add(new JButton(continueAction), "gap related");
content.add(new JButton(cancelAction), "gap 12mm"); content.add(new JButton(cancelAction), "gap 12mm");