Revision: 13987
          http://sourceforge.net/p/skim-app/code/13987
Author:   hofman
Date:     2023-12-25 15:10:16 +0000 (Mon, 25 Dec 2023)
Log Message:
-----------
clear search results when search string is empty

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

Modified: trunk/SKMainWindowController_Actions.m
===================================================================
--- trunk/SKMainWindowController_Actions.m      2023-12-25 14:57:21 UTC (rev 
13986)
+++ trunk/SKMainWindowController_Actions.m      2023-12-25 15:10:16 UTC (rev 
13987)
@@ -810,6 +810,9 @@
         else
             [self displayTocViewAnimating:YES];
         [self updateRightStatus];
+        
+        [self setSearchResults:nil];
+        [self setGroupedSearchResults:nil];
     } else {
         NSInteger options = mwcFlags.caseInsensitiveSearch ? 
NSCaseInsensitiveSearch : 0;
         if (mwcFlags.wholeWordSearch) {

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