Revision: 15989
          http://sourceforge.net/p/skim-app/code/15989
Author:   hofman
Date:     2026-01-09 16:59:13 +0000 (Fri, 09 Jan 2026)
Log Message:
-----------
compare boolean rather than NSNumbber

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

Modified: trunk/SKMainWindowController_Actions.m
===================================================================
--- trunk/SKMainWindowController_Actions.m      2026-01-09 16:48:31 UTC (rev 
15988)
+++ trunk/SKMainWindowController_Actions.m      2026-01-09 16:59:13 UTC (rev 
15989)
@@ -281,7 +281,7 @@
     NSNumber *wasHidden = [NSNumber numberWithBool:[pdfView hideNotes]];
     [notes setValue:wasHidden forKey:@"shouldDisplay"];
     [notes setValue:wasHidden forKey:@"shouldPrint"];
-    if (wasHidden == NO)
+    if ([pdfView hideNotes] == NO)
         [pdfView setCurrentAnnotation:nil];
     [pdfView setHideNotes:[pdfView hideNotes] == NO];
     [touchBarController handleToolModeChangedNotification:nil];

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

Reply via email to