Revision: 15441
http://sourceforge.net/p/skim-app/code/15441
Author: hofman
Date: 2025-06-11 16:04:25 +0000 (Wed, 11 Jun 2025)
Log Message:
-----------
make sure document is not in presentation mode when reverting
Modified Paths:
--------------
trunk/SKMainDocument.m
Modified: trunk/SKMainDocument.m
===================================================================
--- trunk/SKMainDocument.m 2025-06-11 15:54:26 UTC (rev 15440)
+++ trunk/SKMainDocument.m 2025-06-11 16:04:25 UTC (rev 15441)
@@ -1009,6 +1009,9 @@
NSWindow *modalwindow = nil;
NSModalSession session;
+ if ([[self mainWindowController] canExitPresentation])
+ [[self mainWindowController] exitPresentation];
+
if ([mainWindow attachedSheet] == nil && [mainWindow isMainWindow]) {
modalwindow = [[SKAnimatedBorderlessWindow alloc]
initWithContentRect:NSZeroRect];
[(SKApplication *)NSApp setUserAttentionDisabled:YES];
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