Revision: 15439
          http://sourceforge.net/p/skim-app/code/15439
Author:   hofman
Date:     2025-06-11 15:35:55 +0000 (Wed, 11 Jun 2025)
Log Message:
-----------
check whether we can exit presentation before doing so

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2025-06-11 15:32:41 UTC (rev 15438)
+++ trunk/SKMainWindowController.m      2025-06-11 15:35:55 UTC (rev 15439)
@@ -1234,7 +1234,7 @@
     [rightSideController.noteOutlineView reloadData];
     [pdfView resetPDFToolTipRects];
     
-    if ([self interactionMode] == SKPresentationMode && [pdfDocument isLocked])
+    if ([self canExitPresentation] && [pdfDocument isLocked])
         [self exitPresentation];
 }
 

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