Revision: 28732
          http://sourceforge.net/p/bibdesk/svn/28732
Author:   hofman
Date:     2024-02-12 15:36:06 +0000 (Mon, 12 Feb 2024)
Log Message:
-----------
ignore arrowaction when not associated to an icon

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

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2024-02-12 
15:31:22 UTC (rev 28731)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2024-02-12 
15:36:06 UTC (rev 28732)
@@ -3030,11 +3030,13 @@
 - (void)arrowAction:(id)sender
 {
     FVIcon *anIcon = [[sender cell] representedObject];
-    if ([[sender cell] tag] == FVArrowRight)
-        [anIcon showNextPage];
-    else
-        [anIcon showPreviousPage];
-    [self _redisplayIconAfterPageChanged:anIcon];
+    if (anIcon) {
+        if ([[sender cell] tag] == FVArrowRight)
+            [anIcon showNextPage];
+        else
+            [anIcon showPreviousPage];
+        [self _redisplayIconAfterPageChanged:anIcon];
+    }
 }
 
 - (void)_showArrowsForIconAtIndex:(NSUInteger)anIndex

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