Revision: 16220
          http://sourceforge.net/p/skim-app/code/16220
Author:   hofman
Date:     2026-05-05 14:18:17 +0000 (Tue, 05 May 2026)
Log Message:
-----------
chec section for completeness

Modified Paths:
--------------
    trunk/SKMainWindowController.m

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2026-05-05 09:39:56 UTC (rev 16219)
+++ trunk/SKMainWindowController.m      2026-05-05 14:18:17 UTC (rev 16220)
@@ -1753,7 +1753,7 @@
 
 - (NSInteger)collectionView:(NSCollectionView *)collectionView
      numberOfItemsInSection:(NSInteger)section {
-    return [[self thumbnails] count];
+    return section == 0 ? [[self thumbnails] count] : 0;
 }
 
 - (NSCollectionViewItem *)collectionView:(NSCollectionView *)collectionView

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



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to