Revision: 7537
http://skim-app.svn.sourceforge.net/skim-app/?rev=7537&view=rev
Author: hofman
Date: 2011-11-14 18:21:42 +0000 (Mon, 14 Nov 2011)
Log Message:
-----------
don't update UI when user name changes as we don't display that
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2011-11-14 10:46:01 UTC (rev 7536)
+++ trunk/SKMainWindowController.m 2011-11-14 18:21:42 UTC (rev 7537)
@@ -2234,8 +2234,8 @@
if ([oldNoteProperties objectForKey:keyPath] == nil)
[oldNoteProperties setObject:oldValue forKey:keyPath];
- // Update the UI, we should always do that unless the value did
not really change or we're just changing the mod date
- if ([keyPath isEqualToString:SKNPDFAnnotationModificationDateKey]
== NO) {
+ // 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) {
PDFPage *page = [note page];
NSRect oldRect = NSZeroRect;
if ([keyPath isEqualToString:SKNPDFAnnotationBoundsKey] &&
[oldValue isEqual:[NSNull null]] == NO)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit