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

Minor optimizations

This commit is contained in:
Reinhard Pointner 2016-10-09 03:16:32 +08:00
parent 6c98f249d1
commit b9f0a9ef0e

View File

@ -359,6 +359,7 @@ public class RenamePanel extends JComponent {
}));
});
// copy debug information (paths and objects)
installAction(this, WHEN_IN_FOCUSED_WINDOW, getKeyStroke(VK_F7, 0), newAction("Copy Debug Information", evt -> {
try {
withWaitCursor(evt.getSource(), () -> {
@ -366,6 +367,8 @@ public class RenamePanel extends JComponent {
if (text.length() > 0) {
copyToClipboard(text);
log.info("Match model has been copied to clipboard");
} else {
log.warning("Match model is empty");
}
});
} catch (Exception e) {