Revision: 15659
http://sourceforge.net/p/skim-app/code/15659
Author: hofman
Date: 2025-07-15 14:18:49 +0000 (Tue, 15 Jul 2025)
Log Message:
-----------
close all window controllers with commit gefore replacing all notes from file
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2025-07-15 14:15:05 UTC (rev 15658)
+++ trunk/SKMainWindowController.m 2025-07-15 14:18:49 UTC (rev 15659)
@@ -1078,6 +1078,10 @@
// remove the current annotations
[pdfView setCurrentAnnotation:nil];
[self commitEditing];
+ for (NSWindowController *wc in [[self document] windowControllers]) {
+ if ([wc isNoteWindowController])
+ [wc close];
+ }
if ([undoManager groupingLevel] > level) {
[undoManager endUndoGrouping];
[undoManager beginUndoGrouping];
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