Revision: 15468
          http://sourceforge.net/p/skim-app/code/15468
Author:   hofman
Date:     2025-06-15 16:24:55 +0000 (Sun, 15 Jun 2025)
Log Message:
-----------
combine cases

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2025-06-15 16:21:46 UTC (rev 15467)
+++ trunk/SKMainWindowController.m      2025-06-15 16:24:55 UTC (rev 15468)
@@ -1352,10 +1352,8 @@
 }
 
 - (BOOL)hasNotes {
-    if ([notes count] > 0)
+    if ([notes count] > 0 || [placeholderWidgetProperties count] > 0)
         return YES;
-    if ([placeholderWidgetProperties count] > 0)
-        return YES;
     for (PDFAnnotation *widget in widgets) {
         if ([([widget objectValue] ?: @"") isEqual:([widgetValues 
objectForKey:widget] ?: @"")] == NO)
             return YES;

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

Reply via email to