Revision: 15849
          http://sourceforge.net/p/skim-app/code/15849
Author:   hofman
Date:     2025-12-09 23:29:18 +0000 (Tue, 09 Dec 2025)
Log Message:
-----------
get array as intermediate value

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2025-12-09 17:51:12 UTC (rev 15848)
+++ trunk/SKMainWindowController.m      2025-12-09 23:29:18 UTC (rev 15849)
@@ -2083,9 +2083,9 @@
 }
 
 - (void)documentDidBeginDocumentFind:(NSNotification *)note {
-    NSMutableDictionary *header = [NSMutableDictionary 
dictionaryWithObjectsAndKeys:[NSLocalizedString(@"Searching", @"Message in 
search table header") stringByAppendingEllipsis], LABEL_KEY, @(NSNotFound), 
SKGroupedSearchResultCountKey, @-1, SKGroupedSearchResultPageIndexKey, nil];
-    [self setSearchResults:@[header]];
-    [self setGroupedSearchResults:@[header]];
+    NSArray *results = @[[NSMutableDictionary 
dictionaryWithObjectsAndKeys:[NSLocalizedString(@"Searching", @"Message in 
search table header") stringByAppendingEllipsis], LABEL_KEY, @(NSNotFound), 
SKGroupedSearchResultCountKey, @-1, SKGroupedSearchResultPageIndexKey, nil]];
+    [self setSearchResults:results];
+    [self setGroupedSearchResults:results];
     if ([statusBar isVisible]) {
         [statusBar 
setProgressIndicatorStyle:SKProgressIndicatorStyleDeterminate];
         [[statusBar progressIndicator] setMaxValue:[[note object] pageCount]];

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