Mercurial > hg > tony
diff src/main.cpp @ 103:a9491d167efa
README and COPYING files
author | Chris Cannam |
---|---|
date | Fri, 06 Dec 2013 16:51:10 +0000 |
parents | 0ac07b743cad |
children | 38d726399c90 |
line wrap: on
line diff
--- a/src/main.cpp Fri Dec 06 16:51:48 2013 +0000 +++ b/src/main.cpp Fri Dec 06 16:51:10 2013 +0000 @@ -281,6 +281,8 @@ static bool haveMainModel = false; static bool havePriorCommandLineModel = false; + if (!m_mainWindow) return; + MainWindow::FileOpenStatus status = MainWindow::FileOpenFailed; if (path.endsWith("ton")) {