Mercurial > hg > sonic-visualiser
diff main/MainWindow.cpp @ 422:37fb42c2d0e7 templating
Change ReplaceMainModel to ReplaceSession for templating branch purposes
author | Chris Cannam |
---|---|
date | Thu, 28 Apr 2011 15:31:14 +0100 |
parents | 07fbfba541b0 |
children | 97cd3d2c032a |
line wrap: on
line diff
--- 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();