Revision: 15654 http://sourceforge.net/p/skim-app/code/15654 Author: hofman Date: 2025-07-13 08:48:38 +0000 (Sun, 13 Jul 2025) Log Message: ----------- commitEditing never returns NO
Modified Paths: -------------- trunk/SKPDFView.m Modified: trunk/SKPDFView.m =================================================================== --- trunk/SKPDFView.m 2025-07-13 08:22:32 UTC (rev 15653) +++ trunk/SKPDFView.m 2025-07-13 08:48:38 UTC (rev 15654) @@ -683,8 +683,7 @@ // Will need to redraw old active anotation. if (currentAnnotation != nil) { [self updatedAnnotation:currentAnnotation]; - if (editor && [self commitEditing] == NO) - [self discardEditing]; + [self commitEditing]; } // Assign. @@ -3237,8 +3236,7 @@ #pragma mark Key and window changes - (void)viewWillMoveToWindow:(NSWindow *)newWindow { - if (editor && [self commitEditing] == NO) - [self discardEditing]; + [self commitEditing]; [self removeLoupeWindow]; 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