Revision: 29487
          http://sourceforge.net/p/bibdesk/svn/29487
Author:   hofman
Date:     2025-08-27 22:13:41 +0000 (Wed, 27 Aug 2025)
Log Message:
-----------
set status to failed when dowwnload fails

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

Modified: trunk/bibdesk/BDSKDownloadManager.m
===================================================================
--- trunk/bibdesk/BDSKDownloadManager.m 2025-08-27 17:01:06 UTC (rev 29486)
+++ trunk/bibdesk/BDSKDownloadManager.m 2025-08-27 22:13:41 UTC (rev 29487)
@@ -227,7 +227,7 @@
 
 - (void)download:(WKDownload *)download didFailWithError:(NSError *)error 
resumeData:(NSData *)resumeData API_AVAILABLE(macos(11.3)) {
     BDSKWebDownload *webDownload = [self webDownloadForDownload:download];
-    [webDownload setStatus:BDSKDownloadStatusFinished];
+    [webDownload setStatus:BDSKDownloadStatusFailed];
     
     if ([[NSUserDefaults standardUserDefaults] 
boolForKey:BDSKRemoveFailedDownloadsKey] && webDownload)
         [downloads removeObject:webDownload];

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



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to