Added logic so that saving of c2 files will turn on/off with None/Save All. This did not fix Save Decoded, which has no effect in WSPR mode.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5626 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Steven Franke 2015-06-21 23:08:47 +00:00
parent 8d3f23788c
commit 7210d1d41d
1 changed files with 1 additions and 1 deletions

View File

@ -871,7 +871,7 @@ void MainWindow::dataSink(qint64 frames)
*future2 = QtConcurrent::run(savewav, m_fname, m_TRperiod);
watcher2->setFuture(*future2);
if(m_mode.mid(0,4)=="WSPR") {
if( m_mode.mid(0,4)=="WSPR" && (m_saveAll || (m_saveDecoded && m_bdecoded)) ) {
m_c2name=m_config.save_directory ().absoluteFilePath (t.date().toString("yyMMdd") +
"_" + t2 + ".c2");
int len1=m_c2name.length();