mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-16 14:25:02 -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 -> {
|
installAction(this, WHEN_IN_FOCUSED_WINDOW, getKeyStroke(VK_F7, 0), newAction("Copy Debug Information", evt -> {
|
||||||
try {
|
try {
|
||||||
withWaitCursor(evt.getSource(), () -> {
|
withWaitCursor(evt.getSource(), () -> {
|
||||||
@ -366,6 +367,8 @@ public class RenamePanel extends JComponent {
|
|||||||
if (text.length() > 0) {
|
if (text.length() > 0) {
|
||||||
copyToClipboard(text);
|
copyToClipboard(text);
|
||||||
log.info("Match model has been copied to clipboard");
|
log.info("Match model has been copied to clipboard");
|
||||||
|
} else {
|
||||||
|
log.warning("Match model is empty");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user