Revision: 7642
http://skim-app.svn.sourceforge.net/skim-app/?rev=7642&view=rev
Author: hofman
Date: 2012-02-13 17:01:51 +0000 (Mon, 13 Feb 2012)
Log Message:
-----------
make sure mod date is not set when setting mod date
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2012-02-13 16:22:09 UTC (rev 7641)
+++ trunk/SKMainWindowController.m 2012-02-13 17:01:51 UTC (rev 7642)
@@ -2270,7 +2270,7 @@
[undoGroupOldPropertiesPerNote setObject:oldNoteProperties
forKey:note];
[oldNoteProperties release];
// set the mod date here, need to do that only once for each
note for a real user action
- if ([[NSUserDefaults standardUserDefaults]
boolForKey:SKDisableModificationDateKey] == NO && isUndoOrRedo == NO)
+ if ([[NSUserDefaults standardUserDefaults]
boolForKey:SKDisableModificationDateKey] == NO && isUndoOrRedo == NO &&
[keyPath isEqualToString:SKNPDFAnnotationModificationDateKey] == NO)
[note setModificationDate:[NSDate date]];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit