Revision: 4481
http://skim-app.svn.sourceforge.net/skim-app/?rev=4481&view=rev
Author: hofman
Date: 2008-08-30 16:39:24 +0000 (Sat, 30 Aug 2008)
Log Message:
-----------
Only reload note table when needed.
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2008-08-30 11:15:50 UTC (rev 4480)
+++ trunk/SKMainWindowController.m 2008-08-30 16:39:24 UTC (rev 4481)
@@ -3452,8 +3452,10 @@
if ([[note type] isEqualToString:SKNNoteString] && [keyPath
isEqualToString:SKNPDFAnnotationBoundsKey])
[pdfView resetHoverRects];
- [noteArrayController rearrangeObjects];
- [noteOutlineView reloadData];
+ if ([keyPath isEqualToString:SKNPDFAnnotationBoundsKey] ||
[keyPath isEqualToString:SKNPDFAnnotationStringKey]) {
+ [noteArrayController rearrangeObjects];
+ [noteOutlineView reloadData];
+ }
// update the various panels if necessary
if ([[self window] isMainWindow] && [note isEqual:[pdfView
activeAnnotation]]) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit