src/ldDocument.cc

changeset 788
c9d1dad83ad0
parent 786
71d786ce0dcc
child 789
4b7306f52bb5
--- a/src/ldDocument.cc	Mon Jun 02 13:35:41 2014 +0300
+++ b/src/ldDocument.cc	Mon Jun 02 14:34:23 2014 +0300
@@ -168,7 +168,15 @@
 		m_isImplicit = a;
 
 		if (a == false)
+		{
 			g_explicitDocuments << self().toStrongRef();
+			print ("Opened %1", name());
+
+			// Implicit files are not compiled by the GL renderer. Now that this
+			// part is no longer implicit, it needs to be compiled.
+			if (g_win != null)
+				g_win->R()->compiler()->compileDocument (self());
+		}
 		else
 		{
 			g_explicitDocuments.removeOne (self().toStrongRef());

mercurial