diff framework/Document.cpp @ 601:021d42e6c8cb

Avoid setting the session file path when loading an incomplete document, so that the default-file save-on-exit and File->Save are not activated (to avoid losing references to unfound audio files)
author Chris Cannam
date Mon, 18 Jun 2018 14:16:06 +0100
parents b23bebfdfaba
children 10046d544e76
line wrap: on
line diff
--- a/framework/Document.cpp	Mon Jun 11 14:40:56 2018 +0100
+++ b/framework/Document.cpp	Mon Jun 18 14:16:06 2018 +0100
@@ -51,7 +51,8 @@
 Document::Document() :
     m_mainModel(0),
     m_autoAlignment(false),
-    m_align(new Align())
+    m_align(new Align()),
+    m_isIncomplete(false)
 {
     connect(this,
             SIGNAL(modelAboutToBeDeleted(Model *)),