Revision: 29554
          http://sourceforge.net/p/bibdesk/svn/29554
Author:   hofman
Date:     2025-09-08 14:34:40 +0000 (Mon, 08 Sep 2025)
Log Message:
-----------
set final fileURL after moving from tmp location

Modified Paths:
--------------
    trunk/bibdesk/BDSKDownloadManager.m

Modified: trunk/bibdesk/BDSKDownloadManager.m
===================================================================
--- trunk/bibdesk/BDSKDownloadManager.m 2025-09-08 14:10:55 UTC (rev 29553)
+++ trunk/bibdesk/BDSKDownloadManager.m 2025-09-08 14:34:40 UTC (rev 29554)
@@ -374,8 +374,8 @@
     [downloadManager download:download 
decideDestinationWithSuggestedFilename:filename modalForWindow:nil 
completionHandler:^(NSURL *destinationURL){
         NSError *error = nil;
         if (destinationURL) {
+            [[NSFileManager defaultManager] moveItemAtURL:[webDownload 
fileURL] toURL:destinationURL error:&error];
             [webDownload setFileURL:destinationURL];
-            [[NSFileManager defaultManager] moveItemAtURL:[webDownload 
fileURL] toURL:destinationURL error:&error];
         } else {
             error = [NSError errorWithDomain:NSURLErrorDomain 
code:NSURLErrorCancelled userInfo:nil];
         }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to