src/partDownloader.cc

changeset 717
fdc285e5952f
parent 662
2f1bd9112408
child 757
8ab9fa53142b
--- a/src/partDownloader.cc	Thu Apr 17 21:51:59 2014 +0300
+++ b/src/partDownloader.cc	Fri Apr 18 18:46:25 2014 +0300
@@ -446,13 +446,11 @@
 	}
 
 	// Try to load this file now.
-	LDDocument* f = openDocument (filePath(), false);
+	LDDocument* f = openDocument (filePath(), false, not isPrimary());
 
 	if (f == null)
 		return;
 
-	f->setImplicit (not isPrimary());
-
 	// Iterate through this file and check for errors. If there's any that stems
 	// from unknown file references, try resolve that by downloading the reference.
 	// This is why downloading a part may end up downloading multiple files, as

mercurial