# HG changeset patch # User Chris Cannam # Date 1304001074 -3600 # Node ID 37fb42c2d0e7d8165e94c376c02d9fc6c64e221d # Parent 07fbfba541b0e5b8a64d957ac1508d760a680a55 Change ReplaceMainModel to ReplaceSession for templating branch purposes diff -r 07fbfba541b0 -r 37fb42c2d0e7 main/MainWindow.cpp --- a/main/MainWindow.cpp Thu Apr 28 15:28:59 2011 +0100 +++ b/main/MainWindow.cpp Thu Apr 28 15:31:14 2011 +0100 @@ -2677,7 +2677,7 @@ if (path.isEmpty()) return; - FileOpenStatus status = open(path, ReplaceMainModel); + FileOpenStatus status = open(path, ReplaceSession); if (status == FileOpenFailed) { emit hideSplash(); @@ -2737,7 +2737,7 @@ QString path = action->text(); if (path == "") return; - FileOpenStatus status = open(path, ReplaceMainModel); + FileOpenStatus status = open(path, ReplaceSession); if (status == FileOpenFailed) { emit hideSplash();