Revision: 15858
          http://sourceforge.net/p/skim-app/code/15858
Author:   hofman
Date:     2025-12-11 15:08:59 +0000 (Thu, 11 Dec 2025)
Log Message:
-----------
check searchResult

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2025-12-11 10:42:27 UTC (rev 15857)
+++ trunk/SKMainWindowController.m      2025-12-11 15:08:59 UTC (rev 15858)
@@ -2672,7 +2672,7 @@
         } else if ([keyPath isEqualToString:SKTableFontSizeKey]) {
             [self updateTableFont];
             [self updatePageColumnWidthForTableViews:[NSArray 
arrayWithObjects:leftSideController.tocOutlineView, 
rightSideController.noteOutlineView, leftSideController.findTableView, 
leftSideController.groupedFindTableView, nil]];
-            if ([groupedSearchResults count])
+            if ([searchResults count] > 1)
                 [leftSideController.findTableView 
reloadDataForRowIndexes:[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(1, 
[searchResults count] - 1)] columnIndexes:[NSIndexSet 
indexSetWithIndexesInRange:NSMakeRange(0, 2)]];
         }
         

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