1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 16:58:51 -05:00

Improved support for DnD and startup file args

This commit is contained in:
Reinhard Pointner 2016-03-19 21:09:48 +00:00
parent 72f3c375e9
commit 440f47412f
4 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@ public class AnalyzePanel extends JComponent {
try {
if (handler != null && handler.accept(transferable)) {
handler.handleTransferable(transferable, TransferAction.ADD);
handler.handleTransferable(transferable, TransferAction.PUT);
}
} catch (Exception e) {
debug.log(Level.WARNING, "Failed to handle transferable: " + transferable, e);

View File

@ -146,7 +146,7 @@ public class ListPanel extends JComponent {
try {
if (handler != null && handler.accept(transferable)) {
handler.handleTransferable(transferable, TransferAction.ADD);
handler.handleTransferable(transferable, TransferAction.PUT);
}
} catch (Exception e) {
debug.log(Level.WARNING, "Failed to handle transferable: " + transferable, e);

View File

@ -651,7 +651,7 @@ public class RenamePanel extends JComponent {
try {
if (handler != null && handler.accept(transferable)) {
handler.handleTransferable(transferable, TransferAction.ADD);
handler.handleTransferable(transferable, TransferAction.PUT);
}
} catch (Exception e) {
debug.log(Level.WARNING, "Failed to handle transferable: " + transferable, e);

View File

@ -139,7 +139,7 @@ public class SfvPanel extends JComponent {
try {
if (handler != null && handler.accept(transferable)) {
handler.handleTransferable(transferable, TransferAction.ADD);
handler.handleTransferable(transferable, TransferAction.PUT);
}
} catch (Exception e) {
debug.log(Level.WARNING, "Failed to handle transferable: " + transferable, e);