Revision: 27763
          http://sourceforge.net/p/bibdesk/svn/27763
Author:   hofman
Date:     2022-07-24 19:15:06 +0000 (Sun, 24 Jul 2022)
Log Message:
-----------
make sure fileview is reloaded when setIconURLs: is used to explicitly load 
icons without binding or datasource. Should never happen, but it is possible.

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

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2022-07-24 
19:10:08 UTC (rev 27762)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2022-07-24 
19:15:06 UTC (rev 27763)
@@ -832,6 +832,8 @@
     if (_orderedURLs != array) {
         [_orderedURLs release];
         _orderedURLs = [[NSMutableArray alloc] initWithArray:array];
+        if (nil == _contentBinding && nil == _dataSource)
+            [self reloadIcons];
     }    
 }
 

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