Revision: 15420
          http://sourceforge.net/p/skim-app/code/15420
Author:   hofman
Date:     2025-06-09 14:31:55 +0000 (Mon, 09 Jun 2025)
Log Message:
-----------
do update display when widget values change

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2025-06-09 14:11:21 UTC (rev 15419)
+++ trunk/SKMainWindowController.m      2025-06-09 14:31:55 UTC (rev 15420)
@@ -2767,9 +2767,6 @@
             if ([oldNoteProperties objectForKey:keyPath] == nil)
                 [oldNoteProperties setObject:oldValue forKey:keyPath];
             
-            if ([note isSkimNote] == NO)
-                return;
-            
             // Update the UI, we should always do that unless the value did 
not really change or we're just changing the mod date or user name
             if ([keyPath isEqualToString:SKNPDFAnnotationModificationDateKey] 
== NO && [keyPath isEqualToString:SKNPDFAnnotationUserNameKey] == NO && 
[keyPath isEqualToString:SKNPDFAnnotationTextKey] == NO && ([note isText] || 
[keyPath isEqualToString:SKNPDFAnnotationStringKey] == NO)) {
                 PDFPage *page = [note page];
@@ -2793,6 +2790,9 @@
                     [self updateRightStatus];
             }
             
+            if ([note isSkimNote] == NO)
+                return;
+            
             if (mwcFlags.autoResizeNoteRows) {
                 if ([keyPath isEqualToString:SKNPDFAnnotationStringKey])
                     [rightSideController.noteOutlineView setRowHeight:0.0 
forItem:note];

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