src/documentmanager.cpp

changeset 1079
67c6e5d32e68
parent 1073
a0a0d581309b
child 1086
621c2e5853bb
--- a/src/documentmanager.cpp	Sun Jan 29 15:49:36 2017 +0200
+++ b/src/documentmanager.cpp	Sun Jan 29 21:02:11 2017 +0200
@@ -329,7 +329,7 @@
 
 	int numWarnings;
 	bool ok;
-	Model model;
+	Model model {this};
 	loadFileContents(fp, model, &numWarnings, &ok);
 	load->merge(model);
 	fp->close();

mercurial