src/documentmanager.cpp

changeset 1291
9c570a30c98a
parent 1288
d1e45f90654b
child 1298
dbc8bb2a4d84
--- a/src/documentmanager.cpp	Fri Mar 16 12:20:16 2018 +0200
+++ b/src/documentmanager.cpp	Fri Mar 16 16:28:39 2018 +0200
@@ -309,7 +309,7 @@
 
 	int numWarnings;
 	Parser parser {*fp};
-	load->setHeader(parser.parseHeader());
+	load->header = parser.parseHeader();
 	parser.parseBody(*load);
 	fp->close();
 	fp->deleteLater();

mercurial