Revision: 16261
          http://sourceforge.net/p/skim-app/code/16261
Author:   hofman
Date:     2026-05-09 21:08:07 +0000 (Sat, 09 May 2026)
Log Message:
-----------
no need to reload note outline view when active annotation changes

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

Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m   2026-05-09 20:50:09 UTC (rev 16260)
+++ trunk/SKMainWindowController_UI.m   2026-05-09 21:08:07 UTC (rev 16261)
@@ -2094,7 +2094,7 @@
     PDFAnnotation *annotation = [[notification userInfo] 
objectForKey:SKPDFViewAnnotationKey];
     SKNoteOutlineView *ov = rightSideController.noteOutlineView;
     
-    if ([annotation isSkimNote])
+    if (0&[annotation isSkimNote])
         [self setHasOutline:NO forAnnotation:annotation];
     
     annotation = [pdfView currentAnnotation];
@@ -2108,7 +2108,6 @@
     } else {
         [ov deselectAll:self];
     }
-    [ov reloadData];
     if ([[NSUserDefaults standardUserDefaults] 
boolForKey:SKDisplayNoteBoundsKey])
         [self updateRightStatus];
 }

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