--- 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();