Revision: 27760
          http://sourceforge.net/p/bibdesk/svn/27760
Author:   hofman
Date:     2022-07-24 18:30:22 +0000 (Sun, 24 Jul 2022)
Log Message:
-----------
use correct array to check for loaded URLs

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.h
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.h
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.h      2022-07-24 
09:36:59 UTC (rev 27759)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.h      2022-07-24 
18:30:22 UTC (rev 27760)
@@ -263,7 +263,6 @@
     CFRunLoopTimerRef        _progressTimer;
     NSMutableSet            *_modificationSet;
     NSLock                  *_modificationLock;
-    NSArray                 *_iconURLs;
     FVBackgroundView        *_backgroundView;
 }
 

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2022-07-24 
09:36:59 UTC (rev 27759)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2022-07-24 
18:30:22 UTC (rev 27760)
@@ -311,7 +311,6 @@
     _lastClickedIndex = NSNotFound;
     _rubberBandRect = NSZeroRect;
     _fvFlags.isMouseDown = NO;
-    _iconURLs = nil;
     _fvFlags.isEditable = NO;
     [self setBackgroundColor:[[self class] defaultBackgroundColor]];
     _selectionOverlay = NULL;
@@ -437,7 +436,6 @@
     [_arrowAnimation stopAnimation];
     [_leftArrow release];
     [_rightArrow release];
-    [_iconURLs release];
     CFRunLoopTimerInvalidate(_zombieTimer);
     CFRelease(_zombieTimer);
     [_iconCache release];
@@ -1888,7 +1886,7 @@
     }
     
     for (NSURL *url in [_progressIndicators allKeys]) {
-        if ([_iconURLs containsObject:url] == NO)
+        if ([_orderedURLs containsObject:url] == NO)
             [self removeProgressIndicatorForURL:url 
atIndex:[[_progressIndicators objectForKey:url] indexInView]];
     }
     

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