diff -r c72e3115a297 -r 67c6e5d32e68 src/documentmanager.cpp --- 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();