mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 16:28:51 -05:00
Minor optimizations
This commit is contained in:
parent
6c98f249d1
commit
b9f0a9ef0e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user