diff --git a/source/net/filebot/ui/analyze/FileTreeTransferablePolicy.java b/source/net/filebot/ui/analyze/FileTreeTransferablePolicy.java index 149ff6c4..33362c9b 100644 --- a/source/net/filebot/ui/analyze/FileTreeTransferablePolicy.java +++ b/source/net/filebot/ui/analyze/FileTreeTransferablePolicy.java @@ -53,11 +53,6 @@ class FileTreeTransferablePolicy extends BackgroundFileTransferablePolicy files, TransferAction action) { - // make sure we have access to the parent folder structure, not just the dropped file - if (isMacSandbox()) { - MacAppUtilities.askUnlockFolders(getWindow(tree), files); - } - super.handleInBackground(files, action); } @@ -68,6 +63,11 @@ class FileTreeTransferablePolicy extends BackgroundFileTransferablePolicy files, TransferAction action) { - // make sure we have access to the parent folder structure, not just the dropped file - if (isMacSandbox()) { - MacAppUtilities.askUnlockFolders(getWindow(table), files); - } - if (files.size() == 1 && getHashType(files.get(0)) != null) { model.setHashType(getHashType(files.get(0))); } @@ -78,6 +73,11 @@ class ChecksumTableTransferablePolicy extends BackgroundFileTransferablePolicy files, TransferAction action) throws IOException { + // make sure we have access to the parent folder structure, not just the dropped file + if (isMacSandbox()) { + MacAppUtilities.askUnlockFolders(getWindow(table), files); + } + // initialize drop parameters executor.set(computationService.newExecutor()); verificationTracker.set(new VerificationTracker(5));