Mercurial > hg > svapp
changeset 220:0b1886cee2cf templating
Merge from default branch
author | Chris Cannam |
---|---|
date | Wed, 27 Apr 2011 11:33:48 +0100 |
parents | 143e1b56e81b (diff) 85e59c901de9 (current diff) |
children | e06a0124c662 |
files | framework/MainWindowBase.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp Thu Apr 14 15:21:41 2011 +0100 +++ b/framework/MainWindowBase.cpp Wed Apr 27 11:33:48 2011 +0100 @@ -1075,6 +1075,8 @@ { // std::cerr << "MainWindowBase::openAudio(" << source.getLocation().toStdString() << ")" << std::endl; + if (templateName == "") templateName = "testtemplate"; + if (!source.isAvailable()) return FileOpenFailed; source.waitForData();