Revision: 15505
          http://sourceforge.net/p/skim-app/code/15505
Author:   hofman
Date:     2025-06-20 15:13:07 +0000 (Fri, 20 Jun 2025)
Log Message:
-----------
check currentView rather than window for table to decide whether we display the 
find view, as it can be removed from the window when the overview is displayed

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2025-06-20 15:07:01 UTC (rev 15504)
+++ trunk/SKMainWindowController.m      2025-06-20 15:13:07 UTC (rev 15505)
@@ -1332,7 +1332,7 @@
 }
 
 - (BOOL)displaysFindPane {
-    return [leftSideController.findTableView window] || 
[leftSideController.groupedFindTableView window];
+    return leftSideController.findTableView.enclosingScrollView == 
leftSideController.currentView || 
leftSideController.groupedFindTableView.enclosingScrollView == 
leftSideController.currentView;
 }
 
 - (BOOL)leftSidePaneIsOpen {

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



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to