- fixed: changing the document of a subfile wasn't recorded into history properly

Sun, 27 Jul 2014 15:13:42 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Sun, 27 Jul 2014 15:13:42 +0300
changeset 854
403affd33c6e
parent 853
46689ea6fdc6
child 855
e16f1587ef44

- fixed: changing the document of a subfile wasn't recorded into history properly

src/ldObject.cc file | annotate | diff | comparison | revisions
--- a/src/ldObject.cc	Sun Jul 27 04:35:48 2014 +0300
+++ b/src/ldObject.cc	Sun Jul 27 15:13:42 2014 +0300
@@ -904,7 +904,7 @@
 //
 void LDSubfile::setFileInfo (const LDDocumentPtr& a)
 {
-	m_fileInfo = a;
+	changeProperty (self(), &m_fileInfo, a);
 
 	// If it's an immediate subfile reference (i.e. this subfile belongs in an
 	// explicit file), we need to pre-compile the GL polygons for the document

mercurial