mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 00:38:52 -05:00
Improved support for DnD and startup file args
This commit is contained in:
parent
72f3c375e9
commit
440f47412f
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user