Revision: 16396
http://sourceforge.net/p/skim-app/code/16396
Author: hofman
Date: 2026-07-23 22:45:47 +0000 (Thu, 23 Jul 2026)
Log Message:
-----------
also disable find field when searching
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2026-07-23 22:42:58 UTC (rev 16395)
+++ trunk/SKMainWindowController.m 2026-07-23 22:45:47 UTC (rev 16396)
@@ -2068,6 +2068,7 @@
- (void)documentDidBeginDocumentFind:(NSNotification *)note {
[[findController navigationButton] setEnabled:NO];
+ [[findController findField] setEnabled:NO];
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];
@@ -2083,6 +2084,7 @@
- (void)documentDidEndDocumentFind:(NSNotification *)note {
[[findController navigationButton] setEnabled:YES];
+ [[findController findField] setEnabled:YES];
NSString *header = nil;
if ([searchResults count] == 2)
header = NSLocalizedString(@"1 Result", @"Message in search table
header");
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