Revision: 7106
http://skim-app.svn.sourceforge.net/skim-app/?rev=7106&view=rev
Author: hofman
Date: 2011-02-14 15:57:17 +0000 (Mon, 14 Feb 2011)
Log Message:
-----------
invert a check for edits for file updating
Modified Paths:
--------------
trunk/SKFileUpdateChecker.m
Modified: trunk/SKFileUpdateChecker.m
===================================================================
--- trunk/SKFileUpdateChecker.m 2011-02-14 10:15:15 UTC (rev 7105)
+++ trunk/SKFileUpdateChecker.m 2011-02-14 15:57:17 UTC (rev 7106)
@@ -237,7 +237,7 @@
} else if ([self canUpdateFromFile:fileName]) {
BOOL shouldAutoUpdate = fucFlags.autoUpdate || [[NSUserDefaults
standardUserDefaults] boolForKey:SKAutoReloadFileUpdateKey];
BOOL documentHasEdits = [document isDocumentEdited] || [[document
notes] count] > 0;
- if (fucFlags.disableAutoReload == NO && shouldAutoUpdate &&
documentHasEdits) {
+ if (fucFlags.disableAutoReload == NO && shouldAutoUpdate &&
documentHasEdits == NO) {
// tried queuing this with a delayed perform/cancel previous,
but revert takes long enough that the cancel was never used
[self fileUpdateAlertDidEnd:nil
returnCode:NSAlertDefaultReturn contextInfo:NULL];
} else {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit