diff main/main.cpp @ 456:4bccf2014f80

Merge from branch "templating"
author Chris Cannam
date Sun, 26 Jun 2011 19:56:01 +0100
parents 868f73825b37 a0d162a3f3a7
children b3b9cc8f5466 c11a29843fe1
line wrap: on
line diff
--- a/main/main.cpp	Fri Jun 24 12:17:44 2011 +0100
+++ b/main/main.cpp	Sun Jun 26 19:56:01 2011 +0100
@@ -468,7 +468,7 @@
     }
     if (status != MainWindow::FileOpenSucceeded) {
         if (!haveMainModel) {
-            status = m_mainWindow->open(path, MainWindow::ReplaceMainModel);
+            status = m_mainWindow->open(path, MainWindow::ReplaceSession);
             if (status == MainWindow::FileOpenSucceeded) {
                 haveMainModel = true;
             }