|
From: <ho...@us...> - 2025-07-15 14:40:24
|
Revision: 15661
http://sourceforge.net/p/skim-app/code/15661
Author: hofman
Date: 2025-07-15 14:40:21 +0000 (Tue, 15 Jul 2025)
Log Message:
-----------
discard editing when reverting
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2025-07-15 14:21:49 UTC (rev 15660)
+++ trunk/SKMainWindowController.m 2025-07-15 14:40:21 UTC (rev 15661)
@@ -1133,6 +1133,8 @@
[oldPdfDoc cancelFindString];
+ [self discardEditing];
+
// make sure these will not be activated, or they can lead to a crash
[pdfView removePDFToolTipRects];
[pdfView setCurrentAnnotation:nil];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|